projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af72db8
)
Dockerfile: Remove ENTRYPOINT
author
Gilbert Gilb's
<gilbsgilbs@users.noreply.github.com>
Sun, 14 May 2017 07:56:03 +0000
(09:56 +0200)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index 159700a249133ff871b851e48d251f37ab3b1a18..f74e6e5bc19bd23ad6025b2f69dece6009d16663 100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-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"