From f49e55bac05cdd0980745287dcc84399e9cf5c71 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 8 Dec 2023 23:02:50 +0100 Subject: [PATCH] [Alpine] Fix 3.19 support by adding --break-system-packages directivte to pip3 command --- Dockerfile.linux.amd64 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index ccd1dc2..2736661 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -8,7 +8,7 @@ ARG ANSIBLE_LINT_VERSION=6.22.0 ARG YAMLLINT_VERSION=1.33.0 # alpine version -FROM alpine:3.18 +FROM alpine:3.19 # install software RUN apk update @@ -31,8 +31,7 @@ ARG ANSIBLE_LINT_VERSION ARG YAMLLINT_VERSION # install ansible + linters -RUN pip3 install --upgrade pip -RUN pip3 install --use-pep517 --ignore-installed \ +RUN pip3 install --use-pep517 --ignore-installed --break-system-packages \ ansible-core==${ANSIBLE_VERSION} \ ansible-lint==${ANSIBLE_LINT_VERSION} \ yamllint==${YAMLLINT_VERSION}