Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion test/Dockerfile.distro
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ RUN install-tool gradle 9.2.0
FROM build AS test-node

# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 22.21.1
RUN install-tool node 24.11.1
# renovate: datasource=npm
RUN install-tool pnpm 10.20.0
# renovate: datasource=npm packageName=@yarnpkg/cli-dist
Expand Down
4 changes: 2 additions & 2 deletions test/latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ FROM base AS testa
RUN install-apt nginx

# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 22.21.1
RUN install-tool node 24.11.1

# renovate: datasource=github-releases packageName=containerbase/php-prebuild
RUN install-tool php 8.4.14
Expand Down Expand Up @@ -194,7 +194,7 @@ RUN install-tool git-lfs v3.7.1
RUN install-tool powershell v7.5.4

# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 22.21.1
RUN install-tool node 24.11.1

# renovate: datasource=github-releases packageName=moby/moby
RUN install-tool docker v28.5.2
Expand Down
45 changes: 42 additions & 3 deletions test/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ WORKDIR /test
FROM base AS build

# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 22.21.1
RUN install-tool node 24.11.1

# ensure npmrc is writable by user
RUN set -ex; [ $(stat --format '%u' "/tmp/containerbase/cache/.npmrc") -eq ${USER_ID} ]
Expand Down Expand Up @@ -115,7 +115,7 @@ RUN set -ex; cd a; pnpm i
# test: node 20
#--------------------------------------

FROM base AS testd
FROM base AS test-v20

RUN prepare-tool node

Expand All @@ -136,6 +136,43 @@ RUN set -ex; \
yarn --version;


COPY --chown=12021:0 test/node/test test

RUN set -ex; \
npm --version; \
command -v npm;

RUN set -ex; cd test/a; npm i

# renovate: datasource=npm
RUN install-npm del-cli 7.0.0
RUN del -d test/a/**

#--------------------------------------
# test: node 22
#--------------------------------------

FROM base AS test-v22

RUN prepare-tool node

USER 12021

# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 22.21.1

RUN npm install -g yarn
RUN set -ex; \
[ "$(command -v yarn)" = "" ] && echo "works" || exit 1; \
true;

# renovate: datasource=npm
RUN install-tool yarn 1.22.22
RUN set -ex; \
[ "$(command -v yarn)" = "/usr/local/bin/yarn" ] && echo "works" || exit 1; \
yarn --version;


COPY --chown=12021:0 test/node/test test

RUN set -ex; \
Expand Down Expand Up @@ -527,7 +564,6 @@ FROM base
COPY --from=testa /.dummy /.dummy
COPY --from=testb /.dummy /.dummy
COPY --from=testc /.dummy /.dummy
COPY --from=testd /.dummy /.dummy
COPY --from=teste /.dummy /.dummy
COPY --from=testf /.dummy /.dummy
COPY --from=testg /.dummy /.dummy
Expand All @@ -541,3 +577,6 @@ COPY --from=testn /.dummy /.dummy
COPY --from=testo /.dummy /.dummy
COPY --from=testp /.dummy /.dummy
COPY --from=testq /.dummy /.dummy

COPY --from=test-v20 /.dummy /.dummy
COPY --from=test-v22 /.dummy /.dummy
2 changes: 1 addition & 1 deletion test/node/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ARG CONTAINERBASE_LOG_LEVEL
FROM base AS test-node

# renovate: datasource=github-releases packageName=containerbase/node-prebuild versioning=node
RUN install-tool node 22.21.1
RUN install-tool node 24.11.1


#--------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test/node/test/a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"re2": "1.21.4",
"re2": "1.21.5",
"semver": "7.3.2"
}
}
Loading