Skip to content

Commit

Permalink
remove components switch
Browse files Browse the repository at this point in the history
GraalVM Updater is removed from version 21 onwards (see oracle/graal#6855)
  • Loading branch information
cl-a-us committed Oct 16, 2024
1 parent 0cf7515 commit 8b7cc57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions src/graalvm/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
],
"default": "21",
"description": "Java version to install. Valid values are 21, 23; if further versions are published, other values will work as well."
},
"components": {
"type": "string",
"default": "native-image"
}
},
"customizations": {
Expand Down
6 changes: 1 addition & 5 deletions src/graalvm/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,4 @@ JAVA_SHA256=$(curl "$JAVA_PKG".sha256)
curl --output /tmp/jdk.tgz "$JAVA_PKG"
echo "$JAVA_SHA256 */tmp/jdk.tgz" | sha256sum -c
mkdir -p "$JAVA_HOME"
tar --extract --file /tmp/jdk.tgz --directory "$JAVA_HOME" --strip-components 1

if [[ -n "$COMPONENTS" ]]; then
gu install $COMPONENTS
fi
tar --extract --file /tmp/jdk.tgz --directory "$JAVA_HOME" --strip-components 1

0 comments on commit 8b7cc57

Please sign in to comment.