Installs build tools for installing pyyaml (#15)

When attempting to install pyyaml, pip fails to find the `gcc` executable.
This commit is contained in:
Mike Carey 2021-04-15 01:44:05 -05:00 committed by GitHub
parent b2aeacc1b7
commit 05a42da02e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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