yamllint-docker/Dockerfile
CSRBot 506f88463e
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
chore(deps): update docker.io/library/alpine docker tag to v3.19.1
2024-05-20 16:21:16 +00:00

17 lines
395 B
Docker

FROM docker.io/library/alpine:3.19.1 AS build
ARG YAMLLINT_VERSION=master
RUN set -ex && \
apk update && \
apk upgrade && \
apk add git python3 py-pip
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
python3 -m pip install /tmp/yamllint && \
rm -rf /tmp/yamllint
WORKDIR /workspace
ENTRYPOINT [ "/usr/bin/yamllint" ]