Skip to content

Commit

Permalink
Move flags to CMD to allow changing file name
Browse files Browse the repository at this point in the history
  • Loading branch information
aerostitch committed Aug 10, 2017
1 parent bbb7165 commit a90f80f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ MAINTAINER Red Cool Beans <maintainer@redcoolbeans.com>
RUN npm install -g dockerlint \
&& npm cache clean

ENTRYPOINT ["dockerlint", "-f", "/Dockerfile"]
ENTRYPOINT ["dockerlint"]
CMD [ "-f", "/Dockerfile"]
3 changes: 2 additions & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ RUN npm install -g coffee-script \
&& npm install -g \
&& npm cache clean

ENTRYPOINT ["dockerlint", "-f", "/Dockerfile"]
ENTRYPOINT ["dockerlint"]
ENTRYPOINT ["-f", "/Dockerfile"]

0 comments on commit a90f80f

Please sign in to comment.