ahmetozer / distroless-helper

Move binaries with library dependency for distroless systems with easy way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distroless Helper

Copy binary and libraries to the target folder.

Example usage

FROM debian as base
COPY --from=ghcr.io/ahmetozer/distroless-helper /bin/distroless-helper /bin/distroless-helper
RUN /bin/distroless-helper /bin/bash /opt

FROM scratch
COPY --from=base /opt/ /
USER 65534
ENTRYPOINT ["/bin/bash"]

For more example, you can visit ahmetozer/containers

About

Move binaries with library dependency for distroless systems with easy way.

License:Apache License 2.0


Languages

Language:Go 81.3%Language:Dockerfile 18.7%