From a7ac46750d99303764e6b02dde9150ba4c0b0043 Mon Sep 17 00:00:00 2001 From: Stephen Hindle Date: Fri, 22 Jul 2016 11:39:55 -0700 Subject: [PATCH] Ensure apt-transport-https is available. apt-transport-https needs to be installed in the base container BEFORE we add the new sources.list TrivialFix Change-Id: If4a6042f02c9b6e6475c211dc02a302cb6352d7c --- docker/base/Dockerfile.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 98461a8512..8e7e600efe 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -186,11 +186,13 @@ RUN cat /tmp/kolla_bashrc >> /etc/bash.bashrc # This will prevent questions from being asked during the install ENV DEBIAN_FRONTEND noninteractive +# Need apt-transport-https BEFORE we replace sources.list or apt-get update wont work! +RUN apt-get update && apt-get -y install --no-install-recommends apt-transport-https ca-certificates + COPY sources.list.{{ base_distro }} /etc/apt/sources.list COPY apt_preferences.{{ base_distro }} /etc/apt/preferences {% set base_apt_packages = [ - 'ca-certificates', 'curl', 'gawk', 'lvm2',