Remove `CMD` from Docker image, so it's all business by default!
This commit is contained in:
parent
d890331817
commit
136d89ec26
|
@ -33,10 +33,8 @@ pushd "$docker_context"
|
||||||
|
|
||||||
cat <<_DOCKERFILE_ >Dockerfile
|
cat <<_DOCKERFILE_ >Dockerfile
|
||||||
FROM scratch
|
FROM scratch
|
||||||
MAINTAINER Fletcher Nichol <fnichol@nichol.ca>
|
|
||||||
ADD names /names
|
ADD names /names
|
||||||
ENTRYPOINT ["/names"]
|
ENTRYPOINT ["/names"]
|
||||||
CMD ["--help"]
|
|
||||||
_DOCKERFILE_
|
_DOCKERFILE_
|
||||||
|
|
||||||
docker build -t "$repo:$VERSION" .
|
docker build -t "$repo:$VERSION" .
|
||||||
|
|
Loading…
Reference in New Issue