Skip to content

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

License

Notifications You must be signed in to change notification settings

ahmetozer/distroless-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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