Skip to content

Commit 8bddb6b

Browse files
Fix ansible version
1 parent cd03d57 commit 8bddb6b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM alpine:3.11.6
1+
FROM alpine:3.12.0
2+
3+
ARG ANSIBLE_VERSION=2.9.9-r0
24

35
ENV ANSIBLE_SSH_CONTROL_PATH /dev/shm/cp%%h-%%p-%%r
46
ENV ANSIBLE_INVENTORY inventory.yml
@@ -31,7 +33,8 @@ RUN addgroup -S ${CCD_GROUP} && \
3133
RUN apk upgrade \
3234
--no-cache && \
3335
apk add \
34-
ansible=2.9.6-r0 \
36+
ansible=${ANSIBLE_VERSION} \
37+
py-pip \
3538
bash \
3639
curl \
3740
libressl \
@@ -43,8 +46,8 @@ RUN apk upgrade \
4346

4447
COPY requirements.txt /var/run/requirements.txt
4548

46-
RUN pip3 install --upgrade pip && \
47-
pip3 install --no-cache-dir -r /var/run/requirements.txt
49+
# RUN pip3 install --upgrade pip && \
50+
# pip3 install --no-cache-dir -r /var/run/requirements.txt
4851

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

0 commit comments

Comments
 (0)