From 9aed9b4a49879ec4a4dc2819e2239b9c13d2d082 Mon Sep 17 00:00:00 2001 From: Ricardo Rosales <728243+missingcharacter@users.noreply.github.com> Date: Thu, 14 Oct 2021 16:41:26 -0500 Subject: [PATCH] pinning docker-compose to version 1.29.2 in jenkins-jdk --- jenkins/jdk/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins/jdk/Dockerfile b/jenkins/jdk/Dockerfile index 09d7a01..b35ce72 100644 --- a/jenkins/jdk/Dockerfile +++ b/jenkins/jdk/Dockerfile @@ -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 @@ -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 && \