Skip to content

Commit

Permalink
feat: Add node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanowak committed Nov 29, 2024
1 parent fda6b50 commit 45b8bde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- version: 20
build-args: |
NODE_VERSION=20
- version: 22
build-args: |
NODE_VERSION=22
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ docker buildx build -t ghcr.io/netlogix/docker/php-supervisor:8.4 --build-arg PH

docker buildx build -t ghcr.io/netlogix/docker/node:18 --build-arg NODE_VERSION=18 -f node/Dockerfile node
docker buildx build -t ghcr.io/netlogix/docker/node:20 --build-arg NODE_VERSION=20 -f node/Dockerfile node
docker buildx build -t ghcr.io/netlogix/docker/node:22 --build-arg NODE_VERSION=22 -f node/Dockerfile node
4 changes: 2 additions & 2 deletions node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
ARG NODE_VERSION=20
ARG NODE_VERSION=22
FROM node:${NODE_VERSION}-slim AS node

# Install dev certificates
COPY certs/* /usr/share/ca-certificates/netlogix/
ENV NODE_EXTRA_CA_CERTS="/usr/share/ca-certificates/netlogix/docker-dev-ca.crt"
ENV NODE_EXTRA_CA_CERTS="/usr/share/ca-certificates/netlogix/docker-dev-ca.crt"

0 comments on commit 45b8bde

Please sign in to comment.