Skip to content
Snippets Groups Projects
Commit 50f7c465 authored by Markus Frosch's avatar Markus Frosch
Browse files

jessie: Disable validity check since we use archive

parent 2e9716fa
No related branches found
No related tags found
No related merge requests found
Pipeline #3832 passed
......@@ -14,7 +14,8 @@ RUN groupadd -g 1000 jenkins \
&& echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN echo "deb http://archive.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list
RUN echo "deb http://archive.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list \
&& echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \
......
......@@ -14,7 +14,8 @@ RUN groupadd -g 1000 jenkins \
&& echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN echo "deb http://archive.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list
RUN echo "deb http://archive.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list \
&& echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment