3 Commits

Author SHA1 Message Date
0d567bab32 chore(deps): update dependency adrienverge/yamllint to v1.29.0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2025-04-01 22:06:00 +02:00
05d65f9a8c fix(Dockerfile): use python venv
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-01 22:03:54 +02:00
bf90bd6727 fix(Makefile): make FQIN configurable
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-01 20:46:37 +02:00
2 changed files with 10 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.21.3 AS build
FROM docker.io/library/python:3.13.2-alpine AS build
ARG YAMLLINT_VERSION=master
@ -8,9 +8,12 @@ RUN set -ex && \
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
python3 -m venv /venv && \
/venv/bin/pip3 install /tmp/yamllint && \
rm -r -f /tmp/yamllint
ENV PATH="/venv/bin:${PATH}"
WORKDIR /workspace
ENTRYPOINT [ "/usr/bin/yamllint" ]
ENTRYPOINT [ "yamllint" ]

View File

@ -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.29.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a
@ -9,8 +9,8 @@ CONTAINER_RUNTIME?=$(shell which podman)
# YAMLLINT_IMAGE_REGISTRY_NAME
# Defines the name of the new container to be built using several variables.
YAMLLINT_IMAGE_REGISTRY_NAME:=git.cryptic.systems
YAMLLINT_IMAGE_REGISTRY_USER:=volker.raschek
YAMLLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems
YAMLLINT_IMAGE_REGISTRY_USER?=volker.raschek
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
YAMLLINT_IMAGE_NAME:=yamllint