From 2e0edcbabdbdecc04d0a77f2256fbd2abe5dcdfa Mon Sep 17 00:00:00 2001 From: Bruno Thomsen Date: Thu, 14 Mar 2019 17:14:17 +0100 Subject: [PATCH] docker: yum: use https for postgresql rpm download. Signed-off-by: Bruno Thomsen --- installer/roles/image_build/templates/Dockerfile.j2 | 2 +- tools/docker-compose/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/roles/image_build/templates/Dockerfile.j2 b/installer/roles/image_build/templates/Dockerfile.j2 index 11f1ced2df..67a4a944b7 100644 --- a/installer/roles/image_build/templates/Dockerfile.j2 +++ b/installer/roles/image_build/templates/Dockerfile.j2 @@ -29,7 +29,7 @@ WORKDIR /tmp RUN mkdir -p /var/lib/awx/public/static RUN chgrp -Rf root /var/lib/awx && chmod -Rf g+w /var/lib/awx RUN yum -y install epel-release && \ - yum -y localinstall http://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm && \ + yum -y localinstall https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm && \ yum -y update && \ yum -y install ansible git mercurial subversion curl python-psycopg2 python-pip python-setuptools libselinux-python setools-libs yum-utils sudo acl make postgresql-devel nginx python-psutil libxml2-devel libxslt-devel libstdc++.so.6 gcc cyrus-sasl-devel cyrus-sasl openldap-devel libffi-devel python-pip xmlsec1-devel swig krb5-devel xmlsec1-openssl xmlsec1 xmlsec1-openssl-devel libtool-ltdl-devel bubblewrap gcc-c++ python-devel python36-setuptools python36-devel krb5-workstation krb5-libs libcurl-devel rsync unzip && \ ln -s /usr/bin/python36 /usr/bin/python3 && \ diff --git a/tools/docker-compose/Dockerfile b/tools/docker-compose/Dockerfile index 54b87ccc2e..91b06bbfe2 100644 --- a/tools/docker-compose/Dockerfile +++ b/tools/docker-compose/Dockerfile @@ -7,7 +7,7 @@ ADD Makefile /tmp/Makefile RUN mkdir /tmp/requirements RUN yum -y update && yum -y install curl epel-release && yum -y install https://centos7.iuscommunity.org/ius-release.rpm -RUN yum -y localinstall http://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-3.noarch.rpm +RUN yum -y localinstall https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-3.noarch.rpm RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash - RUN yum -y update && yum -y install openssh-server ansible mg vim tmux \