ENTRYPOINT and CMD are similar but CMD is more appropriate because it allows overriding on the command line, e.g. docker run ... kill-sticky sh can now be used to start an interactive shell for debugging.
Also remove set -x from Dockerfile (unnecessary because we use &&), and switch from $(pwd) to $PWD in the build commands because $PWD is cleaner (especially in the Makefile).
Merge after #7.
ENTRYPOINT and CMD are similar but CMD is more appropriate because it allows overriding on the command line, e.g.
docker run ... kill-sticky sh
can now be used to start an interactive shell for debugging.Also remove
set -x
from Dockerfile (unnecessary because we use&&
), and switch from$(pwd)
to$PWD
in the build commands because$PWD
is cleaner (especially in the Makefile).