Skip to content

Commit

Permalink
Add: pycrypto for ansible-vault
Browse files Browse the repository at this point in the history
Inspired: #48
See also: ansible/ansible#42357
  • Loading branch information
William-Yeh committed Nov 27, 2018
1 parent 367cf1d commit 9f127f9
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 1.9-alpine3-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN echo "===> Installing sudo to emulate normal OS behavior..." && \
apk --update add python py-pip openssl ca-certificates && \
apk --update add --virtual build-dependencies \
python-dev libffi-dev openssl-dev build-base && \
pip install --upgrade pip cffi && \
pip install --upgrade pip pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
2 changes: 1 addition & 1 deletion 1.9-alpine3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN echo "===> Installing sudo to emulate normal OS behavior..." && \
apk --update add python py-pip openssl ca-certificates && \
apk --update add --virtual build-dependencies \
python-dev libffi-dev openssl-dev build-base && \
pip install --upgrade pip cffi && \
pip install --upgrade pip pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
2 changes: 1 addition & 1 deletion 1.9-debian8-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
curl gcc python-pip python-dev libffi-dev libssl-dev && \
apt-get -y --purge remove python-cffi && \
pip install --upgrade setuptools && \
pip install --upgrade cffi && \
pip install --upgrade pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
2 changes: 1 addition & 1 deletion 1.9-debian8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
curl gcc python-pip python-dev libffi-dev libssl-dev && \
apt-get -y --purge remove python-cffi && \
pip install --upgrade setuptools && \
pip install --upgrade cffi && \
pip install --upgrade pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
2 changes: 1 addition & 1 deletion alpine3-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN echo "===> Installing sudo to emulate normal OS behavior..." && \
apk --update add python py-pip openssl ca-certificates && \
apk --update add --virtual build-dependencies \
python-dev libffi-dev openssl-dev build-base && \
pip install --upgrade pip cffi && \
pip install --upgrade pip pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
2 changes: 1 addition & 1 deletion alpine3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN echo "===> Installing sudo to emulate normal OS behavior..." && \
\
\
echo "===> Installing handy tools (not absolutely required)..." && \
pip install --upgrade pywinrm && \
pip install --upgrade pycrypto pywinrm && \
apk --update add sshpass openssh-client rsync && \
\
\
Expand Down
2 changes: 1 addition & 1 deletion debian8-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
curl gcc python-pip python-dev libffi-dev libssl-dev && \
apt-get -y --purge remove python-cffi && \
pip install --upgrade setuptools && \
pip install --upgrade cffi && \
pip install --upgrade pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
1 change: 1 addition & 0 deletions debian8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
curl gcc python-pip python-dev libffi-dev libssl-dev && \
apt-get -y --purge remove python-cffi && \
pip install --upgrade setuptools && \
pip install --upgrade pycrypto && \
pip install --upgrade cffi pywinrm && \
\
\
Expand Down
2 changes: 1 addition & 1 deletion debian9-onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
python python-yaml sudo \
curl gcc python-pip python-dev libffi-dev libssl-dev && \
apt-get -y --purge remove python-cffi && \
pip install --upgrade cffi && \
pip install --upgrade pycrypto cffi && \
\
\
echo "===> Installing Ansible..." && \
Expand Down
2 changes: 1 addition & 1 deletion debian9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN echo "===> Installing python, sudo, and supporting tools..." && \
python python-yaml sudo \
curl gcc python-pip python-dev libffi-dev libssl-dev && \
apt-get -y --purge remove python-cffi && \
pip install --upgrade cffi pywinrm && \
pip install --upgrade pycrypto cffi pywinrm && \
\
\
\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN echo "===> Adding Ansible's PPA..." && \
\
echo "===> Installing handy tools (not absolutely required)..." && \
apt-get install -y python-pip && \
pip install --upgrade pywinrm && \
pip install --upgrade pycrypto pywinrm && \
apt-get install -y sshpass openssh-client && \
\
\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN echo "===> Adding Ansible's PPA..." && \
\
echo "===> Installing handy tools (not absolutely required)..." && \
apt-get install -y python-pip && \
pip install --upgrade pywinrm && \
pip install --upgrade pycrypto pywinrm && \
apt-get install -y sshpass openssh-client && \
\
\
Expand Down

0 comments on commit 9f127f9

Please sign in to comment.