Dockerfile: Remove ENTRYPOINT
authorGilbert Gilb's <gilbsgilbs@users.noreply.github.com>
Sun, 14 May 2017 07:56:03 +0000 (09:56 +0200)
committerAlbert Nigmatzianov <albertnigma@gmail.com>
Sun, 14 May 2017 07:56:03 +0000 (09:56 +0200)
It's pointless to set `/bin/sh` as entrypoint. `/bin/sh` is already the default command, and on the top of that, setting `/bin/sh` as entrypoint ignores the command.

Dockerfile

index 159700a249133ff871b851e48d251f37ab3b1a18..f74e6e5bc19bd23ad6025b2f69dece6009d16663 100644 (file)
@@ -13,5 +13,3 @@ COPY . $GOPATH/src/github.com/spf13/hugo
 
 RUN cd $GOPATH/src/github.com/spf13/hugo \
        && make install test
-
-ENTRYPOINT "/bin/sh"