yamllint-docker/Dockerfile
CSRBot e208bded4c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update dependency docker.io/library/alpine to v3.18.2
2023-06-15 16:45:55 +02:00

17 lines
395 B
Docker

FROM docker.io/library/alpine:3.18.2 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" ]