Fix docker build for EOL Debian release

This commit is contained in:
Jan Dittberner 2024-02-10 13:48:02 +01:00
parent 767ba26a9c
commit 8db91abf9e
5 changed files with 25 additions and 5 deletions

View file

@ -1,6 +1,10 @@
FROM debian/eol:jessie
RUN apt-get update \
RUN sed -i \
-e 's@\(^deb http://deb\..*\)$@#\1@' \
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
ca-certificates \

View file

@ -1,6 +1,10 @@
FROM debian/eol:jessie
RUN apt-get update \
RUN sed -i \
-e 's@\(^deb http://deb\..*\)$@#\1@' \
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
ca-certificates \

View file

@ -1,6 +1,10 @@
FROM debian/eol:jessie
RUN apt-get update \
RUN sed -i \
-e 's@\(^deb http://deb\..*\)$@#\1@' \
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
gnupg \

View file

@ -3,7 +3,11 @@ FROM debian/eol:jessie
COPY testca/root/ca.crt.pem /usr/local/share/ca-certificates/testca_root.crt
COPY testca/class3/ca.crt.pem /usr/local/share/ca-certificates/testca_class3.crt
RUN apt-get update \
RUN sed -i \
-e 's@\(^deb http://deb\..*\)$@#\1@' \
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
ca-certificates \

View file

@ -1,6 +1,10 @@
FROM debian/eol:jessie
RUN apt-get update \
RUN sed -i \
-e 's@\(^deb http://deb\..*\)$@#\1@' \
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
ca-certificates \