Skip to content

Commit

Permalink
Docker: Fixed containers - added missing gcc after adding dependency …
Browse files Browse the repository at this point in the history
…that requires compilation
  • Loading branch information
blackandred committed Oct 28, 2019
1 parent 8ba06d8 commit dfa2fa7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .infrastructure/arm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN cd /infracheck \
# install as a package
&& git remote remove origin || true \
&& git remote add origin https://github.com/riotkit-org/infracheck.git \
&& apk add --update gcc python3-dev musl-dev linux-headers \
&& make install \
# after installing as package extract infrastructural files
\
Expand All @@ -27,7 +28,9 @@ RUN cd /infracheck \
&& rm -rf /infracheck \
\
# simple check that application does not crash at the beginning (is correctly packaged)
&& infracheck --help
&& infracheck --help \
\
&& apk del gcc python3-dev musl-dev linux-headers
RUN [ "cross-build-end" ]

ENTRYPOINT ["/entrypoint.sh"]
5 changes: 4 additions & 1 deletion .infrastructure/x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN cd /infracheck \
# install as a package
&& git remote remove origin || true \
&& git remote add origin https://github.com/riotkit-org/infracheck.git \
&& apk add --update gcc python3-dev musl-dev linux-headers \
&& make install \
# after installing as package extract infrastructural files
\
Expand All @@ -23,6 +24,8 @@ RUN cd /infracheck \
&& rm -rf /infracheck \
\
# simple check that application does not crash at the beginning (is correctly packaged)
&& infracheck --help
&& infracheck --help \
\
&& apk del gcc python3-dev musl-dev linux-headers

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit dfa2fa7

Please sign in to comment.