Skip to content

Commit 70ce962

Browse files
author
Escanor Liones
committed
[Build] update.
1 parent 7fa685b commit 70ce962

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

contrib/build-linux/appimage/Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff 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";\nAcquire::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

1726
COPY apt.conf.d/99snapshot /etc/apt/apt.conf.d/99snapshot
1827

0 commit comments

Comments
 (0)