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
9 changes: 8 additions & 1 deletion buildscripts/xds-k8s/test-client.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build runtime image.
FROM openjdk:11.0.9.1-jdk
FROM eclipse-temurin:11-jre

ENV APP_DIR=/usr/src/app
WORKDIR $APP_DIR
Expand All @@ -11,5 +11,12 @@ COPY grpc-interop-testing/ $APP_DIR/
COPY logging*.properties $APP_DIR/
ENV JAVA_OPTS="-Djava.util.logging.config.file=$APP_DIR/logging-json.properties"

# Intentionally after the app COPY to force the update on each build.
# Update Ubuntu system packages:
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/*

# Client
ENTRYPOINT ["bin/xds-test-client"]
9 changes: 8 additions & 1 deletion buildscripts/xds-k8s/test-server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build runtime image.
FROM openjdk:11.0.9.1-jdk
FROM eclipse-temurin:11-jre

ENV APP_DIR=/usr/src/app
WORKDIR $APP_DIR
Expand All @@ -11,5 +11,12 @@ COPY grpc-interop-testing/ $APP_DIR/
COPY logging*.properties $APP_DIR/
ENV JAVA_OPTS="-Djava.util.logging.config.file=$APP_DIR/logging-json.properties"

# Intentionally after the app COPY to force the update on each build.
# Update Ubuntu system packages:
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/*

# Server
ENTRYPOINT ["bin/xds-test-server"]