Skip to content

Commit 2ee8a68

Browse files
authored
Merge pull request #2477 from murgatroid99/grpc-js-xds_docker_distroless
grpc-js-xds: Use distroless Node image for interop Dockerfile
2 parents 5d731c4 + 9b7e5e6 commit 2ee8a68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/grpc-js-xds/interop/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ RUN npm install
2727
WORKDIR /node/src/grpc-node/packages/grpc-js-xds
2828
RUN npm install
2929

30-
FROM node:18-slim
30+
FROM gcr.io/distroless/nodejs18-debian11:latest
3131
WORKDIR /node/src/grpc-node
3232
COPY --from=build /node/src/grpc-node/packages/grpc-js ./packages/grpc-js/
3333
COPY --from=build /node/src/grpc-node/packages/grpc-js-xds ./packages/grpc-js-xds/
3434

3535
ENV GRPC_VERBOSITY="DEBUG"
3636
ENV GRPC_TRACE=xds_client,xds_resolver,xds_cluster_manager,cds_balancer,xds_cluster_resolver,xds_cluster_impl,priority,weighted_target,round_robin,resolving_load_balancer,subchannel,keepalive,dns_resolver,fault_injection,http_filter,csds,outlier_detection,server,server_call
3737

38-
ENTRYPOINT [ "node", "/node/src/grpc-node/packages/grpc-js-xds/build/interop/xds-interop-client" ]
38+
ENTRYPOINT [ "/nodejs/bin/node", "/node/src/grpc-node/packages/grpc-js-xds/build/interop/xds-interop-client" ]

0 commit comments

Comments
 (0)