fix prod base image

This commit is contained in:
James Swineson 2023-06-13 22:36:22 +08:00 committed by GitHub
parent c73ac00874
commit 3d032cc68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ LABEL image="ripe-atlas-artifacts"
COPY --from=builder /root/atlasswprobe-*.deb / COPY --from=builder /root/atlasswprobe-*.deb /
## the actual image ## the actual image
FROM debian:stable-slim FROM debian:10-slim
LABEL maintainer="dockerhub@public.swineson.me" LABEL maintainer="dockerhub@public.swineson.me"
LABEL image="ripe-atlas" LABEL image="ripe-atlas"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
@ -55,7 +55,7 @@ RUN ln -s /bin/true /bin/systemctl \
&& groupadd --force --system --gid $ATLAS_GID atlas \ && groupadd --force --system --gid $ATLAS_GID atlas \
&& usermod -aG atlas atlas \ && usermod -aG atlas atlas \
&& apt-get update -y \ && apt-get update -y \
&& apt-get install -y libcap2-bin libssl1.1 iproute2 openssh-client procps net-tools gosu \ && apt-get install -y libcap2-bin iproute2 openssh-client procps net-tools gosu \
&& dpkg -i /tmp/atlasswprobe-*.deb \ && dpkg -i /tmp/atlasswprobe-*.deb \
&& apt-get install -fy \ && apt-get install -fy \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \