-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |