forked from jmal98/ansiblecm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
56 lines (51 loc) · 889 Bytes
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
FROM alpine:3.13.2
RUN apk add --no-cache \
bzip2 \
file \
gzip \
libffi \
libffi-dev \
krb5 \
krb5-dev \
krb5-libs \
musl-dev \
openssh \
openssl \
openssl-dev \
python3-dev=3.8.10-r0 \
py3-cffi \
py3-cryptography=3.3.2-r0 \
py3-setuptools=51.3.3-r0 \
sshpass \
tar \
curl \
docker \
git \
lastpass-cli \
rsync \
&& \
apk add --no-cache --virtual build-dependencies \
gcc \
make \
&& \
python3 -m ensurepip --upgrade && \
python3 -m pip install -U pip && \
pip3 install \
ansible==3.1.0 \
botocore==1.20.32 \
boto==2.49.0 \
PyYAML==5.4.1 \
boto3==1.17.32 \
awscli==1.19.32 \
hvac==0.11.2 \
pywinrm[kerberos]==0.4.1 \
semver==2.13.0 \
docker \
&& \
apk del build-dependencies \
&& \
rm -rf /root/.cache
VOLUME ["/tmp/playbook"]
WORKDIR /tmp/playbook
ENTRYPOINT ["ansible-playbook"]
CMD ["--version"]