From 4e2fb147be71404b5feb315de4ad005e214eab77 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Wed, 8 Nov 2023 17:20:45 +0100 Subject: [PATCH] [Renovate] Enable pypi source --- Dockerfile.linux.amd64 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index 9889b64..26d5533 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -1,14 +1,14 @@ -# alpine version -FROM alpine:3.18 - # renovate: datasource=pypi depName=ansible-core versioning=pep440 -ENV ANSIBLE_VERSION=2.13.11 +ARG ANSIBLE_VERSION=2.13.11 # renovate: datasource=pypi depName=ansible-lint versioning=pep440 -ENV ANSIBLE_LINT_VERSION=6.22.0 +ARG ANSIBLE_LINT_VERSION=6.22.0 # renovate: datasource=pypi depName=yamllint versioning=pep440 -ENV YAMLLINT_VERSION=1.32.0 +ARG YAMLLINT_VERSION=1.32.0 + +# alpine version +FROM alpine:3.18 # install software RUN apk update @@ -25,6 +25,11 @@ RUN apk add --no-cache \ # cleanup RUN rm -rf /var/cache/apk/* +# arguments +ARG ANSIBLE_VERSION +ARG ANSIBLE_LINT_VERSION +ARG YAMLLINT_VERSION + # install ansible + linters RUN pip3 install --upgrade pip RUN pip3 install --use-pep517 --ignore-installed \