Update 'Dockerfile'

This commit is contained in:
dany 2022-08-21 18:54:19 +02:00
parent b02ac4d50d
commit 1be4498512

View File

@ -21,6 +21,7 @@ RUN cp -rf /lib/*-linux-*/libpsl* /ulib
RUN cp -rf /lib/*-linux-*/libunistring* /ulib
RUN cp -rf /lib/*-linux-*/libjpeg* /ulib
RUN cp -rf /lib/*-linux-*/libvncclient* /ulib
RUN cp -rf /lib/*-linux-*/libtinfo* /ulib
# vnc client support
RUN cp -rf /lib/*-linux-*/libgcrypt* /ulib
@ -56,6 +57,7 @@ COPY --from=deploy-env /bin/wget /bin/
COPY --from=deploy-env /usr/bin/ssh /bin/
COPY --from=deploy-env /usr/bin/ssh-keygen /bin/
COPY --from=deploy-env /usr/bin/ssh-copy-id /bin/
COPY --from=deploy-env /usr/bin/bash /bin/
# copy backend
COPY --from=deploy-env /platform/ /
RUN rm /etc/systemd -rf
@ -67,7 +69,6 @@ RUN chmod 744 /opt/www/runner.ini
COPY antos/frontend/ /
RUN chown -R root:root /opt/www/htdocs/
RUN rm -rf /etc/systemd
RUN ln -sf /bin/sh /bin/bash
COPY start.sh /start.sh
RUN chmod 700 /start.sh
ENTRYPOINT /start.sh