We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddfcc1e commit 82a7114Copy full SHA for 82a7114
ci/images/setup.sh
@@ -16,20 +16,10 @@ curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/c
16
# JAVA
17
###########################################################
18
JDK_URL=$( ./get-jdk-url.sh $1 )
19
-case "$1" in
20
- java8)
21
- COMPONENTS=2
22
- ;;
23
- java11)
24
- COMPONENTS=1
25
26
- *)
27
- echo $"Unknown java version"
28
- exit 1
29
-esac
+
30
mkdir -p /opt/openjdk
31
cd /opt/openjdk
32
-curl -L ${JDK_URL} | tar zx --strip-components=${COMPONENTS}
+curl -L ${JDK_URL} | tar zx --strip-components=1
33
test -f /opt/openjdk/bin/java
34
35
0 commit comments