Update Dockerfile
This commit is contained in:
parent
e52a872abc
commit
7322c5dd11
@ -2,13 +2,6 @@ FROM ubuntu:jammy AS deploy-env
|
||||
ARG tag
|
||||
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
|
||||
# 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
|
||||
@ -66,7 +59,7 @@ COPY antos-release/ /
|
||||
RUN tar -xzf /build/$tag/AntOS_$(uname -m).tar.gz -C /platform/
|
||||
RUN tree /platform
|
||||
|
||||
FROM busybox:stable-glibc
|
||||
FROM busybox: stable-glibc
|
||||
#copy all necessary libraries
|
||||
COPY --from=deploy-env /ulib/ /lib/
|
||||
COPY --from=deploy-env /bin/wget /bin/
|
||||
|
Loading…
Reference in New Issue
Block a user