aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2015-07-14 11:29:14 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2015-07-14 11:29:14 +0800
commit16ed448aefa940fbc6b90932a2b654c66c0fcba4 (patch)
tree16f2b04597cef3473114bff5b94d3ecf2e2cba40
parent1c8ce0e976c1b77f6f528e448fe410561cd7446b (diff)
downloaddocker-ansible-16ed448aefa940fbc6b90932a2b654c66c0fcba4.tar.gz
docker-ansible-16ed448aefa940fbc6b90932a2b654c66c0fcba4.tar.zst
docker-ansible-16ed448aefa940fbc6b90932a2b654c66c0fcba4.zip
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/
-rw-r--r--debian7-onbuild/Dockerfile7
-rw-r--r--debian8-onbuild/Dockerfile7
-rw-r--r--ubuntu12.04-onbuild/Dockerfile7
-rw-r--r--ubuntu14.04-onbuild/Dockerfile7
4 files changed, 20 insertions, 8 deletions
diff --git a/debian7-onbuild/Dockerfile b/debian7-onbuild/Dockerfile
index 45bbd7f..44ed637 100644
--- a/debian7-onbuild/Dockerfile
+++ b/debian7-onbuild/Dockerfile
@@ -37,8 +37,11 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
37 37
38COPY ansible-playbook-wrapper /usr/local/bin/ 38COPY ansible-playbook-wrapper /usr/local/bin/
39 39
40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
41ONBUILD WORKDIR /tmp 41 echo "===> Updating TLS certificates..." && \
42 apt-get install -y openssl ca-certificates
43
44ONBUILD WORKDIR /tmp
42ONBUILD COPY . /tmp 45ONBUILD COPY . /tmp
43ONBUILD RUN \ 46ONBUILD RUN \
44 echo "===> Diagnosis: host information..." && \ 47 echo "===> Diagnosis: host information..." && \
diff --git a/debian8-onbuild/Dockerfile b/debian8-onbuild/Dockerfile
index 5db6cdf..65794be 100644
--- a/debian8-onbuild/Dockerfile
+++ b/debian8-onbuild/Dockerfile
@@ -37,8 +37,11 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
37 37
38COPY ansible-playbook-wrapper /usr/local/bin/ 38COPY ansible-playbook-wrapper /usr/local/bin/
39 39
40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 40ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
41ONBUILD WORKDIR /tmp 41 echo "===> Updating TLS certificates..." && \
42 apt-get install -y openssl ca-certificates
43
44ONBUILD WORKDIR /tmp
42ONBUILD COPY . /tmp 45ONBUILD COPY . /tmp
43ONBUILD RUN \ 46ONBUILD RUN \
44 echo "===> Diagnosis: host information..." && \ 47 echo "===> Diagnosis: host information..." && \
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..." && \
33 33
34COPY ansible-playbook-wrapper /usr/local/bin/ 34COPY ansible-playbook-wrapper /usr/local/bin/
35 35
36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
37ONBUILD WORKDIR /tmp 37 echo "===> Updating TLS certificates..." && \
38 apt-get install -y openssl ca-certificates
39
40ONBUILD WORKDIR /tmp
38ONBUILD COPY . /tmp 41ONBUILD COPY . /tmp
39ONBUILD RUN \ 42ONBUILD RUN \
40 echo "===> Diagnosis: host information..." && \ 43 echo "===> Diagnosis: host information..." && \
diff --git a/ubuntu14.04-onbuild/Dockerfile b/ubuntu14.04-onbuild/Dockerfile
index a0e6580..64dd859 100644
--- a/ubuntu14.04-onbuild/Dockerfile
+++ b/ubuntu14.04-onbuild/Dockerfile
@@ -33,8 +33,11 @@ RUN echo "===> Adding Ansible's PPA..." && \
33 33
34COPY ansible-playbook-wrapper /usr/local/bin/ 34COPY ansible-playbook-wrapper /usr/local/bin/
35 35
36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update 36ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
37ONBUILD WORKDIR /tmp 37 echo "===> Updating TLS certificates..." && \
38 apt-get install -y openssl ca-certificates
39
40ONBUILD WORKDIR /tmp
38ONBUILD COPY . /tmp 41ONBUILD COPY . /tmp
39ONBUILD RUN \ 42ONBUILD RUN \
40 echo "===> Diagnosis: host information..." && \ 43 echo "===> Diagnosis: host information..." && \