]> git.immae.eu Git - github/fretlink/docker-ansible.git/blobdiff - ubuntu14.04-onbuild/Dockerfile
debian9: use "slim" version of debian image
[github/fretlink/docker-ansible.git] / ubuntu14.04-onbuild / Dockerfile
index a0e6580164ac32913d7015095fa99c40686e9f22..d9a187345d9fbcb5de8f7fd9d8ae67aa6fee1abf 100644 (file)
@@ -28,13 +28,16 @@ RUN echo "===> Adding Ansible's PPA..."  && \
     \
     \
     echo "===> Adding hosts for convenience..."  && \
-    echo '[local]\nlocalhost\n' > /etc/ansible/hosts
+    echo 'localhost' > /etc/ansible/hosts
 
 
 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..."  && \