-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (17 loc) · 663 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM centos:7
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN yum check-update; \
yum install -y gcc libffi-devel krb5-devel python3 python3-devel epel-release; \
yum install -y python3-pip; \
yum install -y wget; \
yum clean all
RUN pip3 install --upgrade pip setuptools; \
pip3 install --upgrade virtualenv; \
pip3 install pywinrm[kerberos]; \
pip3 install pywinrm; \
pip3 install jmespath; \
pip3 install requests; \
python3 -m pip install ansible; \
ansible-galaxy collection install azure.azcollection; \
pip3 install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt