From d6faf4a9329c936b1fea7c44f29211aa4f12dc14 Mon Sep 17 00:00:00 2001 From: Paulo Castello da Costa <6579971+paulosjca@users.noreply.github.com> Date: Wed, 10 May 2023 17:31:11 -0700 Subject: [PATCH] Update dockerfile for prebuilt C++ workers. (#351) --- containers/pre_built_workers/cxx/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/containers/pre_built_workers/cxx/Dockerfile b/containers/pre_built_workers/cxx/Dockerfile index 61159a8b..372abbdb 100644 --- a/containers/pre_built_workers/cxx/Dockerfile +++ b/containers/pre_built_workers/cxx/Dockerfile @@ -43,14 +43,13 @@ RUN mkdir /executables RUN bazel --output_user_root=/executables build //test/cpp/qps:qps_worker --config opt # Copy executables to a new image -FROM debian:buster - -RUN mkdir -p /source/code -WORKDIR /source/code +FROM marketplace.gcr.io/google/debian11 COPY --from=0 /source/code/bazel-bin/test/cpp/ /source/code/bazel-bin/test/cpp/ COPY --from=0 /source/code/GRPC_GIT_COMMIT.txt /source/code/GRPC_GIT_COMMIT.txt +WORKDIR /source/code + # make sure client and server workers produce a small amount of useful logs ENV GRPC_VERBOSITY=debug