mvanholsteijn / strip-docker-image

Utility to strip Docker images to their bare minimum size.
Apache License 2.0
339 stars 42 forks source link

Set entrypoint for image to /bin/bash #5

Closed brentonannan closed 8 years ago

brentonannan commented 8 years ago

Images with an ENTRYPOINT in their Dockerfile will not run the export script. As it is written in bash, adding --entrypoint="/bin/bash" to the docker run command fixes this issue, and works for images without an ENTRYPOINT specified too (assuming bash is installed, which is required to run the export script anyway).