File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,13 @@ COPY --from=ibm-semeru-runtimes:open-17-jdk-jammy /opt/java/openjdk /usr/lib/jvm
2121COPY --from=ghcr.io/graalvm/native-image-community:17-ol9 /usr/lib64/graalvm/graalvm-community-java17 /usr/lib/jvm/graalvm17
2222COPY --from=ghcr.io/graalvm/native-image-community:21-ol9 /usr/lib64/graalvm/graalvm-community-java21 /usr/lib/jvm/graalvm21
2323
24- RUN apt-get update && \
25- apt-get install -y curl tar apt-transport-https ca-certificates gnupg && \
26- apt-get clean && \
27- rm -rf /var/lib/apt/lists/*
24+ RUN <<-EOT
25+ set -eux
26+ apt-get update
27+ apt-get install -y curl tar apt-transport-https ca-certificates gnupg
28+ apt-get clean
29+ rm -rf /var/lib/apt/lists/*
30+ EOT
2831
2932# See: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6
3033RUN <<-EOT
@@ -70,12 +73,15 @@ FROM ubuntu:24.04 AS base
7073# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
7174LABEL org.opencontainers.image.source=https://github.com/DataDog/dd-trace-java-docker-build
7275
73- RUN apt-get update && \
74- apt-get install -y curl tar apt-transport-https ca-certificates gnupg \
75- socat less debian-goodies autossh ca-certificates-java python3-pip && \
76- apt-get clean && \
77- rm -rf /var/lib/apt/lists/* && \
78- mkdir -p /usr/local/lib/docker/cli-plugins /usr/local/bin
76+ RUN <<-EOT
77+ set -eux
78+ apt-get update
79+ apt-get install -y curl tar apt-transport-https ca-certificates gnupg \
80+ socat less debian-goodies autossh ca-certificates-java python3-pip
81+ apt-get clean
82+ rm -rf /var/lib/apt/lists/*
83+ mkdir -p /usr/local/lib/docker/cli-plugins /usr/local/bin
84+ EOT
7985
8086# Install Docker Compose plugin and yq YAML processor
8187RUN <<-EOT
You can’t perform that action at this time.
0 commit comments