base-images-docker
base-images-docker copied to clipboard
Improve entrypoint/cmd
When running the image without a CMD
, I get:
% docker run -it --rm gcr.io/cloud-marketplace/google/ubuntu2004
/bin/sh: 0: -c requires an argument
So setting CMD
to /bin/bash
should work. Or use an entrypoint.sh
script like
exec "$@"