Skip to content

Commit

Permalink
Update dockerfile for prebuilt C++ workers. (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosjca authored May 11, 2023
1 parent 7202b0a commit d6faf4a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions containers/pre_built_workers/cxx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d6faf4a

Please sign in to comment.