File tree Expand file tree Collapse file tree
contrib/build-linux/appimage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,19 @@ ENV DEBIAN_FRONTEND=noninteractive
99
1010# bootstrap CA certificates using the default Debian mirrors (HTTP) before
1111# switching over to the pinned snapshot archives
12- RUN apt-get update -q && \
12+ RUN printf 'deb http://archive.debian.org/debian buster main\n ' \
13+ 'deb http://archive.debian.org/debian buster-updates main\n ' \
14+ 'deb http://archive.debian.org/debian-security buster/updates main\n ' \
15+ > /etc/apt/sources.list && \
16+ printf 'Acquire::Check-Valid-Until "0";\n Acquire::AllowInsecureRepositories "1";\n ' \
17+ > /etc/apt/apt.conf.d/99oldstable && \
18+ apt-get update -q \
19+ -o Acquire::Check-Valid-Until=false \
20+ -o Acquire::AllowInsecureRepositories=true && \
1321 apt-get install -qy --no-install-recommends \
1422 ca-certificates && \
15- rm -rf /var/lib/apt/lists/*
23+ rm -rf /var/lib/apt/lists/* && \
24+ rm /etc/apt/apt.conf.d/99oldstable
1625
1726COPY apt.conf.d/99snapshot /etc/apt/apt.conf.d/99snapshot
1827
You can’t perform that action at this time.
0 commit comments