Update Dockerfile

This commit is contained in:
dany 2023-11-21 15:25:29 +01:00
parent e52a872abc
commit 7322c5dd11

View File

@ -2,13 +2,6 @@ FROM ubuntu:jammy AS deploy-env
ARG tag ARG tag
COPY deps/ / COPY deps/ /
# fix libc-bin bug on ARM64
#RUN apt remove --purge --allow-remove-essential --yes libc-bin
#RUN dpkg --purge libc-bin
#RUN apt install libc-bin --yes --no-install-recommends
#RUN rm /var/cache/ldconfig/aux-cache
#RUN /sbin/ldconfig
RUN dpkg -i /libssl1.1_1.1.1f-$(uname -m).deb RUN dpkg -i /libssl1.1_1.1.1f-$(uname -m).deb
# manual install libssl1.1 # manual install libssl1.1
RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 wget libvncclient1 libjpeg-turbo8 openssh-client tar tree RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 wget libvncclient1 libjpeg-turbo8 openssh-client tar tree
@ -66,7 +59,7 @@ COPY antos-release/ /
RUN tar -xzf /build/$tag/AntOS_$(uname -m).tar.gz -C /platform/ RUN tar -xzf /build/$tag/AntOS_$(uname -m).tar.gz -C /platform/
RUN tree /platform RUN tree /platform
FROM busybox:stable-glibc FROM busybox: stable-glibc
#copy all necessary libraries #copy all necessary libraries
COPY --from=deploy-env /ulib/ /lib/ COPY --from=deploy-env /ulib/ /lib/
COPY --from=deploy-env /bin/wget /bin/ COPY --from=deploy-env /bin/wget /bin/