-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: support for Ubuntu 16.04 LTS (Xenial).
Fix: 1. OS-level packages `libffi-dev` and `libssl-dev`/`openssl-dev` should be installed explicitly since Ansible 2.0.2.0(???). 2. Python package cffi should be installed explicitly since Ansible 2.0.2.0(???). 3. add '--fix-missing' for apt. @see boxcutter/ubuntu#62 @see pyca/cryptography#2280
- Loading branch information
1 parent
b314855
commit 97d48ef
Showing
39 changed files
with
505 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,10 @@ MAINTAINER William Yeh <[email protected]> | |
|
||
|
||
RUN echo "===> Adding Python runtime..." && \ | ||
apk --update add python py-pip openssl ca-certificates && \ | ||
apk --update add --virtual build-dependencies python-dev build-base && \ | ||
pip install --upgrade pip && \ | ||
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 && \ | ||
\ | ||
\ | ||
echo "===> Installing Ansible..." && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,10 @@ MAINTAINER William Yeh <[email protected]> | |
|
||
|
||
RUN echo "===> Adding Python runtime..." && \ | ||
apk --update add python py-pip openssl ca-certificates && \ | ||
apk --update add --virtual build-dependencies python-dev build-base && \ | ||
pip install --upgrade pip && \ | ||
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 && \ | ||
\ | ||
\ | ||
echo "===> Installing Ansible..." && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,19 +13,21 @@ MAINTAINER William Yeh <[email protected]> | |
|
||
|
||
RUN echo "===> Installing python, sudo, and supporting tools..." && \ | ||
apt-get update && \ | ||
apt-get update -y && apt-get install --fix-missing && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
python python-yaml sudo \ | ||
curl gcc python-pip python-dev && \ | ||
curl gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
pip install --upgrade cffi && \ | ||
\ | ||
\ | ||
echo "===> Installing Ansible..." && \ | ||
pip install ansible==1.9.4 && \ | ||
\ | ||
\ | ||
echo "===> Removing unused APT resources..." && \ | ||
apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ | ||
apt-get -f -y --auto-remove remove \ | ||
gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* && \ | ||
\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,19 +13,21 @@ MAINTAINER William Yeh <[email protected]> | |
|
||
|
||
RUN echo "===> Installing python, sudo, and supporting tools..." && \ | ||
apt-get update && \ | ||
apt-get update -y && apt-get install --fix-missing && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
python python-yaml sudo \ | ||
curl gcc python-pip python-dev && \ | ||
curl gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
pip install --upgrade cffi && \ | ||
\ | ||
\ | ||
echo "===> Installing Ansible..." && \ | ||
pip install ansible==1.9.4 && \ | ||
\ | ||
\ | ||
echo "===> Removing unused APT resources..." && \ | ||
apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ | ||
apt-get -f -y --auto-remove remove \ | ||
gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* && \ | ||
\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,19 +13,22 @@ MAINTAINER William Yeh <[email protected]> | |
|
||
|
||
RUN echo "===> Installing python, sudo, and supporting tools..." && \ | ||
apt-get update && \ | ||
apt-get update -y && apt-get install --fix-missing && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
python python-yaml sudo \ | ||
curl gcc python-pip python-dev && \ | ||
curl gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
apt-get -y --purge remove python-cffi && \ | ||
pip install --upgrade cffi && \ | ||
\ | ||
\ | ||
echo "===> Installing Ansible..." && \ | ||
pip install ansible==1.9.4 && \ | ||
\ | ||
\ | ||
echo "===> Removing unused APT resources..." && \ | ||
apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ | ||
apt-get -f -y --auto-remove remove \ | ||
gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* && \ | ||
\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,19 +13,22 @@ MAINTAINER William Yeh <[email protected]> | |
|
||
|
||
RUN echo "===> Installing python, sudo, and supporting tools..." && \ | ||
apt-get update && \ | ||
apt-get update -y && apt-get install --fix-missing && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
python python-yaml sudo \ | ||
curl gcc python-pip python-dev && \ | ||
curl gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
apt-get -y --purge remove python-cffi && \ | ||
pip install --upgrade cffi && \ | ||
\ | ||
\ | ||
echo "===> Installing Ansible..." && \ | ||
pip install ansible==1.9.4 && \ | ||
\ | ||
\ | ||
echo "===> Removing unused APT resources..." && \ | ||
apt-get -f -y --auto-remove remove gcc python-pip python-dev && \ | ||
apt-get -f -y --auto-remove remove \ | ||
gcc python-pip python-dev libffi-dev libssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* && \ | ||
\ | ||
|
Oops, something went wrong.