From 9b5ee633848a0ef497f4f6ae0b4548711ed3a738 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 2 Aug 2023 09:58:38 -0700 Subject: [PATCH] Update Node benchmark Dockerfile (#376) --- containers/pre_built_workers/node/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/containers/pre_built_workers/node/Dockerfile b/containers/pre_built_workers/node/Dockerfile index adaecd72..d2e8cd11 100644 --- a/containers/pre_built_workers/node/Dockerfile +++ b/containers/pre_built_workers/node/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM node:10-buster +FROM node:18-bookworm RUN mkdir -p /pre WORKDIR /pre @@ -45,15 +45,12 @@ ADD pkg_config.json /pre RUN pkg -c pkg_config.json ./test/performance/worker.js # Copy node modules to a new image -FROM debian:buster +FROM debian:bookworm RUN mkdir -p /pre WORKDIR /execute COPY --from=0 /pre/worker-linux /execute -COPY --from=0 /pre/test/fixtures/native_native.js /execute/test/fixtures/native_native.js COPY --from=0 /pre/GRPC_GIT_COMMIT.txt /execute/GRPC_GIT_COMMIT.txt -ENV NODE_OPTIONS='--require /execute/test/fixtures/native_native.js' - CMD ["bash"]