diff options
author | William Yeh <william.pjyeh@gmail.com> | 2015-07-14 11:29:14 +0800 |
---|---|---|
committer | William Yeh <william.pjyeh@gmail.com> | 2015-07-14 11:29:14 +0800 |
commit | 16ed448aefa940fbc6b90932a2b654c66c0fcba4 (patch) | |
tree | 16f2b04597cef3473114bff5b94d3ecf2e2cba40 /debian7-onbuild | |
parent | 1c8ce0e976c1b77f6f528e448fe410561cd7446b (diff) | |
download | docker-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/
Diffstat (limited to 'debian7-onbuild')
-rw-r--r-- | debian7-onbuild/Dockerfile | 7 |
1 files changed, 5 insertions, 2 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 | ||
38 | COPY ansible-playbook-wrapper /usr/local/bin/ | 38 | COPY ansible-playbook-wrapper /usr/local/bin/ |
39 | 39 | ||
40 | ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update | 40 | ONBUILD RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ |
41 | ONBUILD WORKDIR /tmp | 41 | echo "===> Updating TLS certificates..." && \ |
42 | apt-get install -y openssl ca-certificates | ||
43 | |||
44 | ONBUILD WORKDIR /tmp | ||
42 | ONBUILD COPY . /tmp | 45 | ONBUILD COPY . /tmp |
43 | ONBUILD RUN \ | 46 | ONBUILD RUN \ |
44 | echo "===> Diagnosis: host information..." && \ | 47 | echo "===> Diagnosis: host information..." && \ |