yamllint-docker/Dockerfile
Markus Pesch 1f30c49c75
All checks were successful
continuous-integration/drone/push Build is passing
Initial Commit
2023-02-11 14:43:28 +01:00

17 lines
395 B
Docker

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