Compare commits
1 Commits
5e4281f635
...
1dae9b3492
Author | SHA1 | Date | |
---|---|---|---|
1dae9b3492 |
11
Dockerfile
11
Dockerfile
@ -1,4 +1,4 @@
|
||||
FROM docker.io/library/python:3.13.2-alpine AS build
|
||||
FROM docker.io/library/alpine:3.21.3 AS build
|
||||
|
||||
ARG YAMLLINT_VERSION=master
|
||||
|
||||
@ -8,12 +8,9 @@ RUN set -ex && \
|
||||
apk add git python3 py-pip
|
||||
|
||||
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
||||
python3 -m venv /venv && \
|
||||
/venv/bin/pip3 install /tmp/yamllint && \
|
||||
rm -r -f /tmp/yamllint
|
||||
|
||||
ENV PATH="/venv/bin:${PATH}"
|
||||
python3 -m pip install /tmp/yamllint && \
|
||||
rm -rf /tmp/yamllint
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENTRYPOINT [ "yamllint" ]
|
||||
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
# YAMLLINT_VERSION
|
||||
# Only required to install a specifiy version
|
||||
YAMLLINT_VERSION?=v1.37.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||
YAMLLINT_VERSION?=v1.28.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||
|
Loading…
x
Reference in New Issue
Block a user