Add libgcc_s.so.1 for glibc-busybox
ARG base
-FROM debian:stable-slim AS patch
+FROM gcr.io/distroless/cc AS patch
FROM ${base}
ARG artifact
@@ -8,4 +8,5 @@ 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/
ENTRYPOINT ["/bin/nu"]
\ No newline at end of file
