Update 'Dockerfile'

This commit is contained in:
dany 2022-08-05 11:41:10 +02:00
parent 70ace2c4e2
commit f3ebe2aa4b

View File

@ -1,4 +1,3 @@
ARG ARCH
FROM ubuntu:focal AS deploy-env FROM ubuntu:focal AS deploy-env
RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 libssl1.1 wget RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 libssl1.1 wget
RUN apt clean && rm -rf /var/lib/apt/lists/* RUN apt clean && rm -rf /var/lib/apt/lists/*
@ -21,6 +20,7 @@ RUN cp -rf /lib/*-linux-*/libidn2* /ulib
RUN cp -rf /lib/*-linux-*/libpsl* /ulib RUN cp -rf /lib/*-linux-*/libpsl* /ulib
RUN cp -rf /lib/*-linux-*/libunistring* /ulib RUN cp -rf /lib/*-linux-*/libunistring* /ulib
ARG ARCH
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/