Skip to content

Commit

Permalink
build: moving to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Jul 18, 2024
1 parent 12eb96f commit 603f1fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions app.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
ARG DEBIAN_VERSION=bookworm
ARG NODE_VERSION=20

## Use a builder
##

FROM node:16-bookworm-slim as Builder
FROM node:${NODE_VERSION}-${DEBIAN_VERSION}-slim as Builder
LABEL maintainer="[email protected]"

# git is required to pull some node packages from github
Expand Down Expand Up @@ -35,7 +38,7 @@ RUN \
## Copy to final container
##

FROM node:16-bookworm-slim
FROM node:${NODE_VERSION}-${DEBIAN_VERSION}-slim
LABEL maintainer="[email protected]"

ARG APP
Expand Down
2 changes: 1 addition & 1 deletion scripts/init_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ THIS_DIR=$(dirname "$THIS_FILE")
### Github Actions

init_github_build_app() {
install_reqs age sops nvm node16
install_reqs age sops nvm node20
}

begin_group "Init $CI_ID for $JOB_ID"
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WORKSPACE_DIR="$(dirname "$ROOT_DIR")"

WORKSPACE_BRANCH=
WORKSPACE_TAG=
WORKSPACE_NODE=16
WORKSPACE_NODE=20
WORKSPACE_KIND=klifull
OPT_LIST="n:k:"
if [ "$CI" != true ]; then
Expand Down

0 comments on commit 603f1fc

Please sign in to comment.