mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-23 10:09:33 +01:00
Installs build tools for installing pyyaml (#15)
When attempting to install pyyaml, pip fails to find the `gcc` executable.
This commit is contained in:
parent
b2aeacc1b7
commit
05a42da02e
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM python:3-alpine
|
FROM python:3-alpine
|
||||||
|
|
||||||
RUN pip install 'yamllint>=1.25.0' && \
|
RUN apk add --no-cache bash gcc musl-dev && \
|
||||||
apk add --no-cache bash && \
|
pip install 'yamllint>=1.25.0' && \
|
||||||
rm -rf ~/.cache/pip
|
rm -rf ~/.cache/pip
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
|
|
Loading…
Reference in a new issue