Skip to content

Commit 05a42da

Browse files
authored
Installs build tools for installing pyyaml (#15)
When attempting to install pyyaml, pip fails to find the `gcc` executable.
1 parent b2aeacc commit 05a42da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3-alpine
22

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

77
ADD entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)