forked from nbering/docker-devops-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (29 loc) · 1.03 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM debian:stretch
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
ENV PYTHONDONTWRITEBYTECODE=1
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
git \
wget \
unzip \
putty-tools \
build-essential \
python-minimal \
python-setuptools \
python-dev \
ca-certificates && \
easy_install pip && \
pip install --upgrade pip && \
pip install 'ansible>=2.7,<2.8' netaddr boto3 boto dnsimple pyOpenSSL awscli && \
pip install git+https://github.com/ansible/molecule.git@2.19 && \
cd $TMPDIR && \
wget --quiet https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip && \
unzip terraform_0.11.14_linux_amd64.zip && \
mv ./terraform /usr/local/bin/ && \
rm terraform_0.11.14_linux_amd64.zip && \
wget --quiet https://releases.hashicorp.com/packer/1.3.2/packer_1.3.2_linux_amd64.zip && \
unzip packer_1.3.2_linux_amd64.zip && \
mv ./packer /usr/local/bin/ && \
rm packer_1.3.2_linux_amd64.zip