ansible-eole/misc/ansible-eole/Dockerfile

20 lines
465 B
Docker

FROM eolebase-2.6.2:latest
ARG HTTP_PROXY=
ARG HTTPS_PROXY=
ARG http_proxy=
ARG https_proxy=
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y &&\
apt-get install -y build-essential libssl-dev libffi-dev python-dev python-pip git &&\
rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/ansible/ansible.git &&\
cd ansible &&\
pip install wheel &&\
pip install -r requirements.txt
COPY bashrc /root/.bashrc
WORKDIR ansible