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
This commit is contained in:
Stephen Hindle 2016-07-22 11:39:55 -07:00
parent 4196603f85
commit a7ac46750d

View File

@ -186,11 +186,13 @@ RUN cat /tmp/kolla_bashrc >> /etc/bash.bashrc
# This will prevent questions from being asked during the install # This will prevent questions from being asked during the install
ENV DEBIAN_FRONTEND noninteractive 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 sources.list.{{ base_distro }} /etc/apt/sources.list
COPY apt_preferences.{{ base_distro }} /etc/apt/preferences COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
{% set base_apt_packages = [ {% set base_apt_packages = [
'ca-certificates',
'curl', 'curl',
'gawk', 'gawk',
'lvm2', 'lvm2',