diff --git a/.nvmrc b/.nvmrc index b832e40..ca5c350 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.16.0 +24.18.0 diff --git a/Dockerfile b/Dockerfile index 9ee88ea..0395f1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ # Docker's cache will let us skip installs when the dependencies haven't changed. # We build on debian because it has fewer dependency issues than Alpine for our # native modules, and we don't really care about the larger image size. -FROM node:24.14.1-bullseye-slim AS server_base +FROM node:24.18.0-bullseye-slim AS server_base WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/* @@ -19,7 +19,7 @@ FROM server_base AS build_backend RUN npm run build # make a shared layer that can be the base for worker and api images. -FROM node:24.14.1-bullseye-slim AS backend_base +FROM node:24.18.0-bullseye-slim AS backend_base WORKDIR /app RUN apt-get update && apt-get install dumb-init COPY --from=build_backend ["/app/package.json", "/app/package-lock.json", "./"] diff --git a/client/Dockerfile b/client/Dockerfile index 4cc7608..dcfff60 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,4 +1,4 @@ -FROM node:24.14.1-bullseye-slim AS client_base +FROM node:24.18.0-bullseye-slim AS client_base WORKDIR /app # ARG is used to get the release id into the ENV from the command line, and then diff --git a/db/Dockerfile b/db/Dockerfile index 15ffa9d..d43d7dd 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -1,4 +1,4 @@ -FROM node:24.14.1-bullseye-slim AS builder +FROM node:24.18.0-bullseye-slim AS builder WORKDIR /app @@ -13,7 +13,7 @@ RUN npm run build RUN npm prune --omit=dev -FROM node:24.14.1-bullseye-slim AS base +FROM node:24.18.0-bullseye-slim AS base WORKDIR /app diff --git a/docker-compose.yaml b/docker-compose.yaml index 88b542f..5837d02 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -21,7 +21,7 @@ services: # Runs all migrations from scratch, after clearing the database(s). migrations: - image: node:24.14.1-bullseye-slim + image: node:24.18.0-bullseye-slim command: bash -c 'set -e npm i && ( [ "$CI" = "true" ] && npm run db:clean -- --env staging || true ) && for db in api-server-pg scylla clickhouse; do npm run db:create -- --db "$$db" --env staging; npm run db:update -- --db "$$db" --env staging; done' @@ -41,7 +41,7 @@ services: condition: service_healthy drop_dbs: - image: node:24.14.1-bullseye-slim + image: node:24.18.0-bullseye-slim command: bash -c 'npm i && npm run db:drop -- --env staging' working_dir: /src env_file: ./.env.githubci diff --git a/docs/development/README.md b/docs/development/README.md index 71a37e9..2af6f6c 100644 --- a/docs/development/README.md +++ b/docs/development/README.md @@ -27,9 +27,9 @@ To get Coop running: ``` 0.40.4 - Found '.nvmrc' with version <24.14.1> - v24.14.1 is already installed. - Now using node v24.14.1 (npm v11.11.0) + Found '.nvmrc' with version <24.18.0> + v24.18.0 is already installed. + Now using node v24.18.0 (npm v11.11.0) Docker version 29.4.3, build 055a478 ``` diff --git a/nodejs-instrumentation/Dockerfile b/nodejs-instrumentation/Dockerfile index 694c145..efdac86 100644 --- a/nodejs-instrumentation/Dockerfile +++ b/nodejs-instrumentation/Dockerfile @@ -9,7 +9,7 @@ # - Grant the necessary access to `/autoinstrumentation` directory. `chmod -R go+r /autoinstrumentation` # - For auto-instrumentation by container injection, the Linux command cp is # used and must be availabe in the image. -FROM node:24.14.1 AS build +FROM node:24.18.0 AS build WORKDIR /operator-build