Skip to content

Commit

Permalink
Postgres support: Added missing postgresql-devel required for buildin…
Browse files Browse the repository at this point in the history
…g/installing psycopg2
  • Loading branch information
blackandred committed Dec 1, 2019
1 parent 9cc7520 commit aed9630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .infrastructure/arm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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 \
&& apk add --update gcc python3-dev musl-dev linux-headers postgresql-devel \
&& make install \
# after installing as package extract infrastructural files
\
Expand All @@ -31,7 +31,7 @@ RUN cd /infracheck \
# simple check that application does not crash at the beginning (is correctly packaged)
&& infracheck --help \
\
&& apk del gcc python3-dev musl-dev linux-headers
&& apk del gcc python3-dev musl-dev linux-headers postgresql-devel
RUN [ "cross-build-end" ]

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions .infrastructure/x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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 \
&& apk add --update gcc python3-dev musl-dev linux-headers postgresql-devel \
&& make install \
# after installing as package extract infrastructural files
\
Expand All @@ -27,6 +27,6 @@ RUN cd /infracheck \
# simple check that application does not crash at the beginning (is correctly packaged)
&& infracheck --help \
\
&& apk del gcc python3-dev musl-dev linux-headers
&& apk del gcc python3-dev musl-dev linux-headers postgresql-devel

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit aed9630

Please sign in to comment.