diff --git a/sdks/java/expansion-service/container/Dockerfile b/sdks/java/expansion-service/container/Dockerfile index 26ff5d0317bb..1b83ec68b994 100644 --- a/sdks/java/expansion-service/container/Dockerfile +++ b/sdks/java/expansion-service/container/Dockerfile @@ -16,7 +16,7 @@ # limitations under the License. ############################################################################### -FROM gcr.io/distroless/java:11 +FROM eclipse-temurin:11 LABEL Author "Apache Beam " ARG TARGETOS ARG TARGETARCH @@ -39,8 +39,7 @@ COPY target/launcher/${TARGETOS}_${TARGETARCH}/boot /opt/apache/beam/ # Copy the config file COPY target/expansion_service_config.yml ./ -# Add golang licenses. These commands require having a shell to work with -COPY --from=busybox:1.35.0-uclibc /bin/sh /bin/sh +# Add golang licenses. COPY target/go-licenses/* /opt/apache/beam/third_party_licenses/golang/ RUN if [ "${pull_licenses}" = "false" ] ; then \ # Remove above license dir if pull licenses false