Skip to content

Commit

Permalink
Installs build tools for installing pyyaml (#15)
Browse files Browse the repository at this point in the history
When attempting to install pyyaml, pip fails to find the `gcc` executable.
  • Loading branch information
mike-carey authored Apr 15, 2021
1 parent b2aeacc commit 05a42da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3-alpine

RUN pip install 'yamllint>=1.25.0' && \
apk add --no-cache bash && \
RUN apk add --no-cache bash gcc musl-dev && \
pip install 'yamllint>=1.25.0' && \
rm -rf ~/.cache/pip

ADD entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit 05a42da

Please sign in to comment.