From 16ed448aefa940fbc6b90932a2b654c66c0fcba4 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Tue, 14 Jul 2015 11:29:14 +0800 Subject: Fix: update OpenSSL and certificates to avoid ansible-galaxy fails due to incompatible security rules. Evidence: $ ansible-galaxy install ... - the API server (galaxy.ansible.com) is not responding, please try again later. @see https://twitter.com/thejimic/status/592527999695597568 > that's odd, can you see if you can hit the API directly (browser or curl/wget): https://galaxy.ansible.com/api/v1/ --- ubuntu12.04-onbuild/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ubuntu12.04-onbuild/Dockerfile') diff --git a/ubuntu12.04-onbuild/Dockerfile b/ubuntu12.04-onbuild/Dockerfile index 2fc7820..20ab8a1 100644 --- a/ubuntu12.04-onbuild/Dockerfile +++ b/ubuntu12.04-onbuild/Dockerfile @@ -33,8 +33,11 @@ RUN echo "===> Adding Ansible's PPA..." && \ COPY ansible-playbook-wrapper /usr/local/bin/ -ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update -ONBUILD WORKDIR /tmp +ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ + echo "===> Updating TLS certificates..." && \ + apt-get install -y openssl ca-certificates + +ONBUILD WORKDIR /tmp ONBUILD COPY . /tmp ONBUILD RUN \ echo "===> Diagnosis: host information..." && \ -- cgit v1.2.3