Add libgcc_s.so.1 for glibc-busybox

This commit is contained in:
Fahmi Akbar Wildana 2019-09-09 16:45:55 +07:00
parent 095e5ac69f
commit 62e6cc4dae
No known key found for this signature in database
GPG Key ID: 86D1FDF35E9D3807

View File

@ -1,11 +1,12 @@
ARG base ARG base
FROM debian:stable-slim AS patch FROM gcr.io/distroless/cc AS patch
FROM ${base} FROM ${base}
ARG artifact ARG artifact
COPY ${artifact} /bin/ 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/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/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/librt* /lib/x86_64-linux-gnu/
COPY --from=patch /lib/x86_64-linux-gnu/libgcc_s* /lib/x86_64-linux-gnu/
ENTRYPOINT ["/bin/nu"] ENTRYPOINT ["/bin/nu"]