Skip to content

Commit d86990c

Browse files
committed
Pin Ansible version
1 parent 9077cdf commit d86990c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.k8s_ci.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ RUN set -xe; \
5151
libc-dev \
5252
bzip2 \
5353
gcc \
54-
&& pip install --no-cache virtualenv ansible \
54+
&& pip install --no-cache virtualenv ansible==11.11.0 \
5555
&& apt-get autoremove -y && apt-get clean \
5656
&& rm -rf /var/lib/apt/lists/* /tmp/*
5757

5858
# Remove context from previous build; copy current context; run playbook
5959
WORKDIR /tmp/ansible
6060
RUN rm -rf *
61-
ENV LC_ALL en_US.UTF-8
61+
6262
RUN git clone --depth 1 --branch $GALAXY_PLAYBOOK_BRANCH $GALAXY_PLAYBOOK_REPO galaxy-docker
6363
WORKDIR /tmp/ansible/galaxy-docker
6464
RUN ansible-galaxy install -r requirements.yml -p roles --force-with-deps
@@ -193,4 +193,4 @@ ENV GALAXY_CONFIG_CONDA_AUTO_INIT=False
193193
ENTRYPOINT ["tini", "--"]
194194

195195
# [optional] to run:
196-
CMD galaxy
196+
CMD ["galaxy"]

0 commit comments

Comments
 (0)