mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-23 18:19:33 +01:00
05a42da02e
When attempting to install pyyaml, pip fails to find the `gcc` executable.
9 lines
197 B
Docker
9 lines
197 B
Docker
FROM python:3-alpine
|
|
|
|
RUN apk add --no-cache bash gcc musl-dev && \
|
|
pip install 'yamllint>=1.25.0' && \
|
|
rm -rf ~/.cache/pip
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|