1
0

Websockify und fTelnet sollten jetzt heruntergeladen werden

This commit is contained in:
Anna Christina Naß
2026-04-09 13:12:33 +02:00
parent 8d70900cdf
commit 580d74a247
4 changed files with 167 additions and 4 deletions

View File

@@ -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