Skip to content

Commit

Permalink
Allow access to extra archive without ca-certificates
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
didrocks committed Nov 14, 2023
1 parent 5661be1 commit cfc11d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/deb-build-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit cfc11d4

Please sign in to comment.