Skip to content

Commit

Permalink
Added additional checks to the docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Mar 31, 2019
1 parent a488863 commit f6f65c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN cd /infracheck \
&& set -x && cd /infracheck/app && ./functional-test.sh \
&& rm -rf /infracheck/.git /infracheck/example /infracheck/tests \
&& rm -rf /var/cache/apk/* \
&& chmod +x /infracheck/entrypoint.sh
&& chmod +x /infracheck/entrypoint.sh \
&& infracheck --help

ENTRYPOINT ["/infracheck/entrypoint.sh"]
3 changes: 2 additions & 1 deletion armhf.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ RUN cd /infracheck \
&& set -x && cd /infracheck/app && ./functional-test.sh \
&& rm -rf /infracheck/.git /infracheck/example /infracheck/tests \
&& rm -rf /var/cache/apk/* \
&& chmod +x /infracheck/entrypoint.sh
&& chmod +x /infracheck/entrypoint.sh \
&& infracheck --help
RUN [ "cross-build-end" ]

ENTRYPOINT ["/infracheck/entrypoint.sh"]
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

cd /
exec infracheck --server --server-port 8000 $@

0 comments on commit f6f65c6

Please sign in to comment.