We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 355b96d commit ed88b37Copy full SHA for ed88b37
Dockerfile
@@ -6,7 +6,7 @@ ARG TARGETPLATFORM
6
7
# Install necessary tools for diagnostics and JDK download
8
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl net-tools lsof netcat procps less \
9
- && if [[ "$TARGETPLATFORM" == *amd* ]]; then \
+ && if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
10
export JDK_ARCH=x64; \
11
else \
12
export JDK_ARCH=aarch64; \
0 commit comments