From 485776fdbe3caed63f4319747175b5437de7a479 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Tue, 19 Oct 2021 14:54:52 +0200 Subject: [PATCH] docker-nodes: Update Dockerfile for ssl fix This change updates the Dockerfile used for building Docker images to use as Jenkins nodes to fix ssl issue. Change-Id: I287e4ee38638ef38f5bb943baa9c66b7602084a7 --- infra/jenkins/slave-setup/docker-slave/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/jenkins/slave-setup/docker-slave/Dockerfile b/infra/jenkins/slave-setup/docker-slave/Dockerfile index 4a1271d..78791bb 100644 --- a/infra/jenkins/slave-setup/docker-slave/Dockerfile +++ b/infra/jenkins/slave-setup/docker-slave/Dockerfile @@ -40,9 +40,11 @@ FROM jenkins/jnlp-slave USER root # we need few basic packages in order to use base image as Jenkins slave RUN apt update +RUN apt upgrade -o Dpkg::Options::=--force-confdef -o \ + Dpkg::Options::=--force-confnew -q=3 -y RUN apt install -o Dpkg::Options::=--force-confdef -o \ Dpkg::Options::=--force-confnew -q=3 -y git vim sudo \ - software-properties-common wget jq + software-properties-common wget jq gnupg # add ubuntu repos for python3.6-minimal and the key RUN add-apt-repository 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu bionic main' RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 3B4FE6ACC0B21F32 -- 2.25.1