yamllint/Dockerfile
Mike Carey 05a42da02e
Installs build tools for installing pyyaml (#15)
When attempting to install pyyaml, pip fails to find the `gcc` executable.
2021-04-15 08:44:05 +02:00

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"]