Skip to content

Commit da1d939

Browse files
committed
Updated to use CI mode SDKMAN install script
1 parent a555519 commit da1d939

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

images/java/ubuntu.Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM codercom/enterprise-base:ubuntu
22

33
ARG DEBIAN_FRONTEND="noninteractive"
4-
ARG SDKMAN_SHA512="ade94c3b8454bac9411139a46adbd68a16f05766b9bc6fa7061535bbce353c93578393e46cc0d90c630691774d1057b234134fe7af105e1e649f4e8811794de4"
4+
ARG SDKMAN_SHA512="a8fc6a336d31f2e4980cfe39ee9f11a0f2ee70bc721094b7ea63b953fd1675474765a4e273d6575ea207aa59c15f4fe867e963c0c47580f2131edc2ae8d4fd34"
55

66
ENV SDKMAN_DIR="/home/coder/.sdkman" \
7-
SDKMAN_CLI_AUTO_CONFIRM=true \
87
JAVA_VERSION="21.0.8-tem" \
98
GRADLE_VERSION="8.14.3" \
109
MAVEN_VERSION="3.9.11" \
@@ -21,7 +20,7 @@ RUN apt-get update -qq && \
2120

2221
USER coder
2322

24-
RUN curl -fsSL https://get.sdkman.io -o /tmp/install_sdkman.sh && \
23+
RUN curl -fsSL "https://get.sdkman.io?ci=true" -o /tmp/install_sdkman.sh && \
2524
echo "${SDKMAN_SHA512} /tmp/install_sdkman.sh" | sha512sum -c - && \
2625
bash /tmp/install_sdkman.sh && \
2726
rm /tmp/install_sdkman.sh && \

0 commit comments

Comments
 (0)