From 02eaf85c78a09265639d9b2a980056f105d15fe7 Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Fri, 10 May 2024 08:33:27 +1000 Subject: [PATCH] [DDS-1944] Added missing binary. --- images/node/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/images/node/Dockerfile b/images/node/Dockerfile index f72128f1..025b0a59 100644 --- a/images/node/Dockerfile +++ b/images/node/Dockerfile @@ -1,7 +1,18 @@ FROM uselagoon/node-20:latest +ARG BAY_CLI_VERSION=v0.1.1 + RUN apk --update add curl git +# Install bay-cli. +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 + +# Bay entrypoints. +COPY entrypoints/ /lagoon/entrypoints + # Prevents installation of large binaries only used for development. ENV CYPRESS_INSTALL_BINARY 0 ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD 1