ARG base FROM debian:stable-slim AS patch 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/libdl.so.2 /lib/x86_64-linux-gnu/libdl.so.2 ENTRYPOINT ["/bin/nu"]