diff --git a/ansible/vagrant.yml b/ansible/vagrant.yml index 1dee289..4ce26ee 100644 --- a/ansible/vagrant.yml +++ b/ansible/vagrant.yml @@ -11,19 +11,20 @@ with_items: - ack - build-base + - ca-certificates - curl - - git - gcc + - git - imagemagick - - libstdc++ - lftp + - libstdc++ - make - musl-dev - nodejs - perl + - python-dev - python3 - python3-dev - - python-dev become: yes - name: pip status @@ -95,6 +96,8 @@ command: ~/ansible/bin/ansible-playbook -i hosts base.yml -c local --extra-vars="hosts=localhost" chdir=~/.batcave + environment: + SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt - name: export variables lineinfile: @@ -103,6 +106,7 @@ with_items: - export PYTHONIOENCODING=UTF-8 - export LC_ALL=C.UTF-8 + - export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt - name: no git colors command: git config --global color.ui false diff --git a/vagrant/Dockerfile b/vagrant/Dockerfile index 4c2fa39..bc13b21 100644 --- a/vagrant/Dockerfile +++ b/vagrant/Dockerfile @@ -1,10 +1,12 @@ FROM alpine:3.3 +ENV SSL_CERT_FILE /etc/ssl/certs/ca-certificates.crt + RUN apk add --update \ - bash \ - openssh \ - python \ - sudo \ + bash \ + openssh \ + python \ + sudo \ && rm -rf /var/cache/apk/* # create ssh keys