Skip to content

Commit 1a4afd7

Browse files
committed
Added node24 to the container
1 parent bc14740 commit 1a4afd7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/build-docker-images.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ jobs:
9494
- run: |
9595
arch=$(echo "${{ runner.arch }}" | tr '[:upper:]' '[:lower:]')
9696
NODE20_VERSION=$(cat staticnode/node-versions.json | jq -r '.[] | select(.version | startswith("v20")) | .version')
97+
NODE24_VERSION=$(cat staticnode/node-versions.json | jq -r '.[] | select(.version | startswith("v24")) | .version')
9798
9899
echo "NODE20_ARCH_RELEASE=$arch:${NODE20_VERSION}" >> $GITHUB_ENV
100+
echo "NODE24_ARCH_RELEASE=$arch:${NODE24_VERSION}" >> $GITHUB_ENV
99101
# Pull the previous image, but if it fails return true anyway.
100102
# Sometimes we add new docker images and if they've never been pushed
101103
# they can't be pulled.
@@ -131,6 +133,7 @@ jobs:
131133
pull: true
132134
build-args: |
133135
NODE20_ARCH_RELEASE=${{ env.NODE20_ARCH_RELEASE }}
136+
NODE24_ARCH_RELEASE=${{ env.NODE24_ARCH_RELEASE }}
134137
${{ matrix.IMAGE.BUILD_ARGS }}
135138
push: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
136139
- uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0

cryptography-linux/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ARG NODE20_ARCH_RELEASE
2+
ARG NODE24_ARCH_RELEASE
23
ARG PYCA_RELEASE
34
FROM ghcr.io/pyca/static-nodejs-${NODE20_ARCH_RELEASE} AS staticnodejs20
5+
FROM ghcr.io/pyca/static-nodejs-${NODE24_ARCH_RELEASE} AS staticnodejs24
46
FROM quay.io/pypa/${PYCA_RELEASE}
57
LABEL org.opencontainers.image.authors="Python Cryptographic Authority"
68
WORKDIR /root
@@ -27,6 +29,7 @@ RUN \
2729
fi
2830

2931
COPY --from=staticnodejs20 /out/ /staticnode/20/
32+
COPY --from=staticnodejs40 /out/ /staticnode/40/
3033
ADD install_openssl.sh /root/install_openssl.sh
3134
ADD openssl-version.sh /root/openssl-version.sh
3235
RUN ./install_openssl.sh

runners/alpine/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
ARG NODE20_ARCH_RELEASE
2+
ARG NODE24_ARCH_RELEASE
23
FROM ghcr.io/pyca/static-nodejs-${NODE20_ARCH_RELEASE} AS staticnodejs20
4+
FROM ghcr.io/pyca/static-nodejs-${NODE24_ARCH_RELEASE} AS staticnodejs24
35

46
FROM alpine:latest
57

@@ -14,6 +16,7 @@ RUN apk add --no-cache git libffi-dev curl \
1416
python3-dev openssl-dev bash gcc musl-dev tar pkgconfig zstd make
1517

1618
COPY --from=staticnodejs20 /out/ /staticnode/20/
19+
COPY --from=staticnodejs24 /out/ /staticnode/24/
1720

1821
RUN python3 -m venv /venv && /venv/bin/pip install -U pip wheel --no-cache-dir
1922

0 commit comments

Comments
 (0)