source:
trunk/docker/websocketd/Dockerfile
@
972
Last change on this file since 972 was 968, checked in by djay, 4 years ago | |
---|---|
File size: 726 bytes |
Line | |
---|---|
1 | FROM alpine:3.11 |
2 | ADD . /websocketd |
3 | RUN apk update && apk add --no-cache unzip curl python3 \ |
4 | && if [ ! -e /usr/bin/python ]; then ln -sf python3 /usr/bin/python ; fi \ |
5 | \ |
6 | && echo "**** install pip ****" \ |
7 | && python3 -m ensurepip \ |
8 | && rm -r /usr/lib/python*/ensurepip \ |
9 | && pip3 install --no-cache --upgrade pip setuptools wheel redis \ |
10 | && if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi \ |
11 | && wget -P /tmp/ https://github.com/joewalnes/websocketd/releases/download/v0.3.1/websocketd-0.3.1-linux_amd64.zip \ |
12 | && unzip -o -d /websocketd/ /tmp/websocketd-0.3.1-linux_amd64.zip |
13 | WORKDIR /websocketd |
14 | ENTRYPOINT [ "/websocketd/websocketd" ] |
15 | CMD [ "--port=8888", "/websocketd/shell.sh" ] |
Note: See TracBrowser
for help on using the repository browser.