Skip to content

Commit

Permalink
[DDS-1944] Added missing binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed May 9, 2024
1 parent b6f4979 commit 02eaf85
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions images/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 02eaf85

Please sign in to comment.