Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This is a builder image for the project. Feel free to use it, but it's
# not an actual working environment meant for production, it's for releases
# and certain automations.
FROM node:22-alpine3.19
FROM node:24-alpine3.24
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
WORKDIR /app
# Install dependencies
RUN apk update && apk add --no-cache ca-certificates git bash openjdk11-jre jq openssh python3 && rm -rf /var/cache/apk/*
RUN apk update && apk add --no-cache ca-certificates git bash openjdk21-jre jq openssh python3 && rm -rf /var/cache/apk/*
COPY . .
# Pre-cache node modules, set up ssh, install gh, and install gcloud
RUN yarn install && \
Expand All @@ -18,13 +18,13 @@ RUN yarn install && \
mkdir -p /root/.ssh && \
chmod 700 /root/.ssh && \
ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts && \
wget https://github.com/cli/cli/releases/download/v2.54.0/gh_2.54.0_linux_amd64.tar.gz && \
tar -xvf gh_2.54.0_linux_amd64.tar.gz && \
cd gh_2.54.0_linux_amd64 && \
wget https://github.com/cli/cli/releases/download/v2.94.0/gh_2.94.0_linux_amd64.tar.gz && \
tar -xvf gh_2.94.0_linux_amd64.tar.gz && \
cd gh_2.94.0_linux_amd64 && \
mv bin/gh /usr/local/bin/ && \
cd /app && \
rm -rf gh_2.54.0_linux_amd64 && \
rm gh_2.54.0_linux_amd64.tar.gz && \
rm -rf gh_2.94.0_linux_amd64 && \
rm gh_2.94.0_linux_amd64.tar.gz && \
chmod +x /usr/local/bin/gh && \
wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz && \
tar -xvf google-cloud-cli-linux-x86_64.tar.gz && \
Expand Down
Loading