Skip to content

Commit

Permalink
Fix ansible version
Browse files Browse the repository at this point in the history
  • Loading branch information
elmariofredo committed May 31, 2020
1 parent cd03d57 commit 8bddb6b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM alpine:3.11.6
FROM alpine:3.12.0

ARG ANSIBLE_VERSION=2.9.9-r0

ENV ANSIBLE_SSH_CONTROL_PATH /dev/shm/cp%%h-%%p-%%r
ENV ANSIBLE_INVENTORY inventory.yml
Expand Down Expand Up @@ -31,7 +33,8 @@ RUN addgroup -S ${CCD_GROUP} && \
RUN apk upgrade \
--no-cache && \
apk add \
ansible=2.9.6-r0 \
ansible=${ANSIBLE_VERSION} \
py-pip \
bash \
curl \
libressl \
Expand All @@ -43,8 +46,8 @@ RUN apk upgrade \

COPY requirements.txt /var/run/requirements.txt

RUN pip3 install --upgrade pip && \
pip3 install --no-cache-dir -r /var/run/requirements.txt
# RUN pip3 install --upgrade pip && \
# pip3 install --no-cache-dir -r /var/run/requirements.txt

RUN mkdir -p ${CDD_DEBUG_FOLDER} ${CDD_BAKED_FOLDER} ${CDD_PLAY_FOLDER} && chown -R ${CCD_USER}:${CCD_GROUP} ${CDD_BASE_FOLDER}

Expand Down

0 comments on commit 8bddb6b

Please sign in to comment.