From 3cfded50c9267d3aca2108a7238d78ccbc53cad2 Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Fri, 16 Aug 2024 11:52:58 +1000 Subject: [PATCH] [5.x] Fixed bay-cli version. --- images/php/Dockerfile.cli | 3 ++- images/php/Dockerfile.fpm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/images/php/Dockerfile.cli b/images/php/Dockerfile.cli index 14c9b282..44998379 100644 --- a/images/php/Dockerfile.cli +++ b/images/php/Dockerfile.cli @@ -22,7 +22,8 @@ RUN wget -O /usr/local/bin/dockerize https://github.com/dpc-sdp/dockerize/releas RUN apk add redis --no-cache # Install bay-cli. -RUN curl -L "https://github.com/dpc-sdp/bay-cli/releases/download/v0.1.2/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz" --output /tmp/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz +ARG BAY_CLI_VERSION=v1.1.2 +RUN curl -L "https://github.com/dpc-sdp/bay-cli/releases/download/${BAY_CLI_VERSION}/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz" --output /tmp/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz RUN tar -C /tmp -xvf /tmp/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz RUN chmod +x /tmp/bay RUN mv /tmp/bay /bin/bay diff --git a/images/php/Dockerfile.fpm b/images/php/Dockerfile.fpm index c384e3cc..014fe95c 100644 --- a/images/php/Dockerfile.fpm +++ b/images/php/Dockerfile.fpm @@ -24,7 +24,8 @@ RUN apk add --no-cache tzdata \ && echo $TZ > /etc/timezone # Install bay-cli. -RUN curl -L "https://github.com/dpc-sdp/bay-cli/releases/download/v0.1.2/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz" --output /tmp/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz +ARG BAY_CLI_VERSION=v1.1.2 +RUN curl -L "https://github.com/dpc-sdp/bay-cli/releases/download/${BAY_CLI_VERSION}/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz" --output /tmp/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz RUN tar -C /tmp -xvf /tmp/bay_$(echo ${TARGETPLATFORM:-linux/amd64} | tr '/' '_').tar.gz RUN chmod +x /tmp/bay RUN mv /tmp/bay /bin/bay