From 8a3e3fc5dcc615044980586501c3a84031fc9513 Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Fri, 14 Jun 2019 15:41:22 +0200 Subject: Fixed Dockerfiles for base images Dockerfiles for building base images of sdc components fixed. Change-Id: I50057d3edba1c06e6175e5cc547981efb11ecac3 Issue-ID: SDC-2367 Signed-off-by: Tomasz Golabek --- base_sdc-kibana/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'base_sdc-kibana') diff --git a/base_sdc-kibana/Dockerfile b/base_sdc-kibana/Dockerfile index 9a349df..7faba33 100644 --- a/base_sdc-kibana/Dockerfile +++ b/base_sdc-kibana/Dockerfile @@ -34,13 +34,16 @@ FROM kibana:4.3.3 # zlib1g # CVE-2016-9843 CVE-2016-9841 CVE-2016-9842 CVE-2016-9840 -RUN echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list && \ +RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list && \ + sed -i '/deb http:\/\/deb.debian.org\/debian jessie-backports main/d' /etc/apt/sources.list && \ + echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \ + echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian stretch-updates main" >> /etc/apt/sources.list && \ echo "deb http://security.debian.org stretch/updates main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian buster-updates main" >> /etc/apt/sources.list && \ echo "deb http://security.debian.org buster/updates main" >> /etc/apt/sources.list && \ - apt-get -y update && \ + apt-get -o Acquire::Check-Valid-Until=false update && \ apt-get -y --no-install-recommends install \ vim \ vim-common \ @@ -65,4 +68,4 @@ RUN echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.lis passwd \ zlib1g && \ apt-get -y autoremove && \ - curl -L https://omnitruck.chef.io/install.sh | bash + curl -L https://omnitruck.chef.io/install.sh | bash -s -- -v 13.8.5 -- cgit 1.2.3-korg