Skip to content

Commit

Permalink
pinning docker-compose to version 1.29.2 in jenkins-jdk
Browse files Browse the repository at this point in the history
  • Loading branch information
missingcharacter committed Oct 14, 2021
1 parent 1470ffa commit 9aed9b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jenkins/jdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENV uid=1000
ENV gid=1000
ENV AGENT_WORKDIR=/home/${user}/agent
ENV DOCKER_VERSION=20.10.5
ENV DOCKER_COMPOSE_VERSION=1.29.2
ENV KUBECTL_VERSION=v1.22.0
ENV KOMPOSE_VERSION=v1.22.0

Expand Down Expand Up @@ -69,7 +70,7 @@ RUN echo '===> Make jenkins-agent executable' && \
chmod +x /usr/local/bin/kompose && \
kompose version && \
echo '===> Installing docker-compose' && \
DOCKER_COMPOSE_VERSION="$(curl -s 'https://api.github.com/repos/docker/compose/releases/latest' | jq -r .tag_name)" && \
#DOCKER_COMPOSE_VERSION="$(curl -s 'https://api.github.com/repos/docker/compose/releases/latest' | jq -r .tag_name)" && \
curl -sL \
"https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" \
-o /usr/local/bin/docker-compose && \
Expand Down

0 comments on commit 9aed9b4

Please sign in to comment.