From 191b50109cacd5c395a247907c19ad1075a11521 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Wed, 15 May 2024 11:41:17 +0200 Subject: [PATCH] Fix lcov --- lite/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lite/Dockerfile b/lite/Dockerfile index 095fddc..4c3943a 100644 --- a/lite/Dockerfile +++ b/lite/Dockerfile @@ -33,10 +33,12 @@ RUN python3 -m ensurepip --upgrade \ && pip3 install --upgrade pip \ && pip3 install wheel -# lcov is only present in the testing repository of the edge branch -RUN apk add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community lcov +# lcov is only present in the community repository of the edge branch but its perl-json-xs +# dependency won't work on 3.15 so install it (from the 3.15 repo) first +RUN apk add perl-json-xs && \ + apk add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community lcov -# This package is required by lcov +# This package is required by lcov (but somehow not listed as such in the Alpine package) RUN apk add gzip # So that it still supports things incorrectly pointing to python