Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Update Java expansion service to use distroless" #33476

Merged
merged 1 commit into from
Jan 2, 2025
Merged
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
5 changes: 2 additions & 3 deletions sdks/java/expansion-service/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.
###############################################################################

FROM gcr.io/distroless/java:11
FROM eclipse-temurin:11
LABEL Author "Apache Beam <[email protected]>"
ARG TARGETOS
ARG TARGETARCH
Expand All @@ -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
Expand Down
Loading