mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
9dc58247e5
because distroless/cc doesn't contain libz
12 lines
No EOL
219 B
Docker
12 lines
No EOL
219 B
Docker
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/
|
|
|
|
ENTRYPOINT ["/bin/nu"] |