Update 'Dockerfile'
This commit is contained in:
parent
544fcea280
commit
4871809ce9
14
Dockerfile
14
Dockerfile
@ -1,5 +1,5 @@
|
||||
FROM ubuntu:focal AS deploy-env
|
||||
RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 libssl1.1 wget libvncclient1 libjpeg-turbo8
|
||||
RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 libssl1.1 wget libvncclient1 libjpeg-turbo8 openssh-client
|
||||
RUN apt clean && rm -rf /var/lib/apt/lists/*
|
||||
RUN mkdir /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libsqlite3* /ulib
|
||||
@ -22,6 +22,7 @@ RUN cp -rf /lib/*-linux-*/libunistring* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libjpeg* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libvncclient* /ulib
|
||||
|
||||
# vnc client support
|
||||
RUN cp -rf /lib/*-linux-*/libgcrypt* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libsasl2* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/liblzo2* /ulib
|
||||
@ -34,6 +35,16 @@ RUN cp -rf /lib/*-linux-*/libhogweed* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libgmp* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libffi* /ulib
|
||||
|
||||
# sshclient
|
||||
RUN cp -rf /lib/*-linux-*/libselinux* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libresolv* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libgssapi_krb5* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libkrb5* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libk5crypto* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libcom_err* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libkrb5support* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libkeyutils* /ulib
|
||||
|
||||
RUN mkdir /platform
|
||||
COPY antos/ /
|
||||
RUN cp /backend/$(uname -m)/* /platform -rf
|
||||
@ -42,6 +53,7 @@ FROM busybox:stable-glibc
|
||||
#copy all necessary libraries
|
||||
COPY --from=deploy-env /ulib/* /lib/
|
||||
COPY --from=deploy-env /bin/wget /bin/
|
||||
COPY --from=deploy-env /usr/bin/ssh /bin/
|
||||
# copy backend
|
||||
COPY --from=deploy-env /platform/ /
|
||||
RUN rm /etc/systemd -rf
|
||||
|
Loading…
Reference in New Issue
Block a user