From cfc11d4533045176a44524e6cbe6398ca8245b39 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Tue, 14 Nov 2023 08:04:24 +0100 Subject: [PATCH] Allow access to extra archive without ca-certificates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ensure we don’t use https to avoid having to install ca-certificates on the build system, which will skew the "no Internet access" test. The repo is still signed. --- .github/deb-build-docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/deb-build-docker/Dockerfile b/.github/deb-build-docker/Dockerfile index e33ca51c6..a489e4196 100644 --- a/.github/deb-build-docker/Dockerfile +++ b/.github/deb-build-docker/Dockerfile @@ -2,11 +2,14 @@ FROM ubuntu:devel ENV DEBIAN_FRONTEND=noninteractive -# add our own overlay ppa for dependencies not yet in ubuntu:devel +# add our own overlay ppa for dependencies not yet in ubuntu:devel. +# ensure we don’t use https to avoid having to install ca-certificates on the build system, which will +# skew the "no Internet access" test. The repo is still signed. RUN \ apt-get update && \ apt-get install -y software-properties-common && \ - add-apt-repository -y --ppa ppa:ubuntu-wsl-dev/ppa + add-apt-repository -y --ppa ppa:ubuntu-wsl-dev/ppa && \ + sed -i "s#https#http#g" /etc/apt/sources.list.d/* FROM ubuntu:devel COPY --from=0 /etc/apt/sources.list.d/* /etc/apt/sources.list.d/