mirror of https://github.com/grpc/grpc-java.git
16 lines
367 B
Docker
16 lines
367 B
Docker
# Build runtime image.
|
|
FROM openjdk:11.0.9.1-jdk
|
|
|
|
ENV APP_DIR=/usr/src/app
|
|
WORKDIR $APP_DIR
|
|
|
|
# Install the app
|
|
COPY grpc-interop-testing/ $APP_DIR/
|
|
|
|
# Copy all logging profiles, use json logging by default
|
|
COPY logging*.properties $APP_DIR/
|
|
ENV JAVA_OPTS="-Djava.util.logging.config.file=$APP_DIR/logging-json.properties"
|
|
|
|
# Server
|
|
ENTRYPOINT ["bin/xds-test-server"]
|