Websockify und fTelnet sollten jetzt heruntergeladen werden
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,9 +1,17 @@
|
||||
FROM python
|
||||
|
||||
COPY websockify-*.tar.gz /
|
||||
RUN wget -P / $(curl https://api.github.com/repos/novnc/websockify/releases/latest | jq -r '.tarball_url')
|
||||
RUN python3 -m pip install novnc-websockify-*.tar.gz
|
||||
RUN rm -rf /novnc-websockify-* /root/.cache
|
||||
|
||||
RUN python3 -m pip install websockify-*.tar.gz
|
||||
RUN rm -rf /websockify-* /root/.cache
|
||||
RUN wget -P / https://github.com/rickparrish/fTelnet/archive/refs/heads/master.zip
|
||||
WORKDIR /web
|
||||
RUN unzip /fTelnet-master.zip &&\
|
||||
cp fTelnet-master/release/ftelnet.css . &&\
|
||||
cp fTelnet-master/release/ftelnet.norip.xfer.min.js . &&\
|
||||
cp -r fTelnet-master/release/fonts fTelnet-master/release/keyboard . &&\
|
||||
rm -rf /fTelnet-master.zip fTelnet-master
|
||||
ADD web/index.html web/custom.css /web
|
||||
|
||||
VOLUME /data
|
||||
|
||||
@@ -13,7 +21,7 @@ WORKDIR /opt/websockify
|
||||
|
||||
ENV LOCALPORT="80"
|
||||
ENV DEST="box.imzadi.de:23"
|
||||
ENV OPTS="--web /data"
|
||||
ENV OPTS="--web /web"
|
||||
|
||||
RUN cat <<'EOF' > /entrypoint.sh
|
||||
#!/bin/sh
|
||||
|
||||
Reference in New Issue
Block a user