Fix docker build for EOL Debian release
This commit is contained in:
parent
767ba26a9c
commit
8db91abf9e
5 changed files with 25 additions and 5 deletions
|
@ -1,6 +1,10 @@
|
||||||
FROM debian/eol:jessie
|
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 \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
FROM debian/eol:jessie
|
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 \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
FROM debian/eol:jessie
|
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 \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
gnupg \
|
gnupg \
|
||||||
|
|
|
@ -3,7 +3,11 @@ FROM debian/eol:jessie
|
||||||
COPY testca/root/ca.crt.pem /usr/local/share/ca-certificates/testca_root.crt
|
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
|
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 \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
FROM debian/eol:jessie
|
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 \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|
Loading…
Reference in a new issue