diff --git a/docker/Package.glibc-busybox.Dockerfile b/docker/Package.glibc-busybox.Dockerfile index bdd4c18dd0..6191b5f04c 100644 --- a/docker/Package.glibc-busybox.Dockerfile +++ b/docker/Package.glibc-busybox.Dockerfile @@ -1,12 +1,15 @@ ARG base -FROM gcr.io/distroless/cc AS patch +FROM debian:stable-slim AS patch FROM ${base} ARG artifact COPY ${artifact} /bin/ -COPY --from=patch /lib/x86_64-linux-gnu/libz* /lib/x86_64-linux-gnu/ -COPY --from=patch /lib/x86_64-linux-gnu/libdl* /lib/x86_64-linux-gnu/ -COPY --from=patch /lib/x86_64-linux-gnu/librt* /lib/x86_64-linux-gnu/ -COPY --from=patch /lib/x86_64-linux-gnu/libgcc_s* /lib/x86_64-linux-gnu/ +COPY --from=patch \ + /lib/x86_64-linux-gnu/libz.so.1 \ + /lib/x86_64-linux-gnu/libdl.so.2 \ + /lib/x86_64-linux-gnu/librt.so.1 \ + /lib/x86_64-linux-gnu/libgcc_s.so.1 \ + /lib/x86_64-linux-gnu/ + ENTRYPOINT ["/bin/nu"] \ No newline at end of file diff --git a/docker/Package.glibc-distroless.Dockerfile b/docker/Package.glibc-distroless.Dockerfile index 250146f88e..42768fc08c 100644 --- a/docker/Package.glibc-distroless.Dockerfile +++ b/docker/Package.glibc-distroless.Dockerfile @@ -5,5 +5,8 @@ FROM ${base} ARG artifact COPY ${artifact} /bin/ -COPY --from=patch /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libz.so.1 +COPY --from=patch \ + /lib/x86_64-linux-gnu/libz.so.1 \ + /lib/x86_64-linux-gnu/ + ENTRYPOINT ["/bin/nu"] \ No newline at end of file