From e45aac14cc8c768b33e6f1ddf9b9a3780a0cd099 Mon Sep 17 00:00:00 2001 From: Pratik Raj Date: Fri, 6 Mar 2020 14:23:37 +0530 Subject: [PATCH] added packages apt-utils ca-certificates Because Github CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate added packages apt-utils ca-certificates Because Github CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate added packages apt-utils ca-certificates Because CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate added packages apt-utils ca-certificates Because CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate added packages apt-utils ca-certificates Because Github CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate added packages apt-utils ca-certificates Because Github CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate --- hooks/nvidia-bootstrap/image/Dockerfile | 2 +- images/dns-controller-builder/Dockerfile | 2 +- images/dns-controller/Dockerfile | 2 +- images/protokube-builder/Dockerfile | 2 +- images/protokube/Dockerfile | 2 +- images/utils-builder/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hooks/nvidia-bootstrap/image/Dockerfile b/hooks/nvidia-bootstrap/image/Dockerfile index 73695ec0b7f1d..7bc50f50b19c2 100644 --- a/hooks/nvidia-bootstrap/image/Dockerfile +++ b/hooks/nvidia-bootstrap/image/Dockerfile @@ -16,7 +16,7 @@ FROM debian:jessie # ^ Cannot be Alpine since it does not support systemctl # ^ Systemctl is used to restart kubelet upon successful run of run.sh -RUN apt-get update && apt-get --no-install-recommends -yq install curl jq +RUN apt-get update && apt-get --no-install-recommends -yq install apt-utils ca-certificates apt-transport-https curl jq ADD run.sh /run.sh diff --git a/images/dns-controller-builder/Dockerfile b/images/dns-controller-builder/Dockerfile index b4a8a4f9788c0..0e2c4f28c7165 100644 --- a/images/dns-controller-builder/Dockerfile +++ b/images/dns-controller-builder/Dockerfile @@ -19,7 +19,7 @@ FROM k8s.gcr.io/debian-base-amd64:0.3 # git (for getting the current head) # gcc make (for compilation) RUN apt-get update && apt-get --no-install-recommends install --yes --reinstall lsb-base \ - && apt-get --no-install-recommends install --yes curl git gcc make bash \ + && apt-get --no-install-recommends install --yes curl git gcc make bash apt-utils ca-certificates apt-transport-https \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/images/dns-controller/Dockerfile b/images/dns-controller/Dockerfile index bfbdc7bacec44..de11d67df86a6 100644 --- a/images/dns-controller/Dockerfile +++ b/images/dns-controller/Dockerfile @@ -15,7 +15,7 @@ FROM k8s.gcr.io/debian-base-amd64:0.3 # ca-certificates: Needed to talk to EC2 API -RUN apt-get update && apt-get --no-install-recommends install --yes ca-certificates \ +RUN apt-get update && apt-get --no-install-recommends install --yes apt-utils ca-certificates apt-transport-https \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/images/protokube-builder/Dockerfile b/images/protokube-builder/Dockerfile index b4a8a4f9788c0..bbd059e5636bb 100644 --- a/images/protokube-builder/Dockerfile +++ b/images/protokube-builder/Dockerfile @@ -19,7 +19,7 @@ FROM k8s.gcr.io/debian-base-amd64:0.3 # git (for getting the current head) # gcc make (for compilation) RUN apt-get update && apt-get --no-install-recommends install --yes --reinstall lsb-base \ - && apt-get --no-install-recommends install --yes curl git gcc make bash \ + && apt-get --no-install-recommends install --yes apt-utils ca-certificates apt-transport-https curl git gcc make bash \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/images/protokube/Dockerfile b/images/protokube/Dockerfile index 46874f1ffd231..d698bebb17da2 100644 --- a/images/protokube/Dockerfile +++ b/images/protokube/Dockerfile @@ -17,7 +17,7 @@ FROM k8s.gcr.io/debian-base-amd64:0.3 # ca-certificates: Needed to talk to EC2 API # e2fsprogs: Needed to mount / format ext4 filesytems RUN apt-get update && apt-get --no-install-recommends install --yes \ - bash ca-certificates e2fsprogs systemd \ + bash apt-utils ca-certificates apt-transport-https e2fsprogs systemd \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/images/utils-builder/Dockerfile b/images/utils-builder/Dockerfile index 55d75338ca74c..33624f729a448 100644 --- a/images/utils-builder/Dockerfile +++ b/images/utils-builder/Dockerfile @@ -22,7 +22,7 @@ deb http://security.debian.org jessie/updates main\n \ deb-src http://security.debian.org jessie/updates main\n \ deb-src http://ftp.us.debian.org/debian/ jessie main" > /etc/apt/sources.list -RUN apt-get update && apt-get --no-install-recommends install --yes dpkg-dev bash \ +RUN apt-get update && apt-get --no-install-recommends install --yes apt-utils ca-certificates apt-transport-https dpkg-dev bash \ && apt-get build-dep --yes socat conntrack \ && apt-get clean