Update 'Dockerfile'
This commit is contained in:
parent
b02ac4d50d
commit
1be4498512
@ -21,6 +21,7 @@ RUN cp -rf /lib/*-linux-*/libpsl* /ulib
|
|||||||
RUN cp -rf /lib/*-linux-*/libunistring* /ulib
|
RUN cp -rf /lib/*-linux-*/libunistring* /ulib
|
||||||
RUN cp -rf /lib/*-linux-*/libjpeg* /ulib
|
RUN cp -rf /lib/*-linux-*/libjpeg* /ulib
|
||||||
RUN cp -rf /lib/*-linux-*/libvncclient* /ulib
|
RUN cp -rf /lib/*-linux-*/libvncclient* /ulib
|
||||||
|
RUN cp -rf /lib/*-linux-*/libtinfo* /ulib
|
||||||
|
|
||||||
# vnc client support
|
# vnc client support
|
||||||
RUN cp -rf /lib/*-linux-*/libgcrypt* /ulib
|
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 /bin/
|
||||||
COPY --from=deploy-env /usr/bin/ssh-keygen /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/ssh-copy-id /bin/
|
||||||
|
COPY --from=deploy-env /usr/bin/bash /bin/
|
||||||
# copy backend
|
# copy backend
|
||||||
COPY --from=deploy-env /platform/ /
|
COPY --from=deploy-env /platform/ /
|
||||||
RUN rm /etc/systemd -rf
|
RUN rm /etc/systemd -rf
|
||||||
@ -67,7 +69,6 @@ RUN chmod 744 /opt/www/runner.ini
|
|||||||
COPY antos/frontend/ /
|
COPY antos/frontend/ /
|
||||||
RUN chown -R root:root /opt/www/htdocs/
|
RUN chown -R root:root /opt/www/htdocs/
|
||||||
RUN rm -rf /etc/systemd
|
RUN rm -rf /etc/systemd
|
||||||
RUN ln -sf /bin/sh /bin/bash
|
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
RUN chmod 700 /start.sh
|
RUN chmod 700 /start.sh
|
||||||
ENTRYPOINT /start.sh
|
ENTRYPOINT /start.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user