mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01:00
149ccc4fd3
* Add libdl.so.2 for glibc-busybox * Change base-image of glibc-distroless to gcr.io/distroless/cc
10 lines
281 B
Docker
10 lines
281 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/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"] |