Skip to content

Commit 1eb79a5

Browse files
JDK17 upgrade for sso-app
PR URL: https://www.github.com/delphix/linux-pkg/pull/396
1 parent 344321a commit 1eb79a5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/delphix-sso-app/config.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/saml-app.git"
2020
MEND_SCAN_APPLICABLE="true"
2121
MEND_SCAN_USING_SUDO="true"
2222

23+
function prepare() {
24+
logmust install_pkgs openjdk-17-jdk-headless:
25+
}
26+
27+
2328
function build() {
2429
local java_home
25-
java_home="/usr/lib/jvm/java-8-openjdk-amd64/"
30+
java_home="/usr/lib/jvm/java-17-openjdk-amd64/"
2631
logmust cd "$WORKDIR/repo"
2732
logmust sudo ./gradlew "-Dorg.gradle.java.home=$java_home" distDeb
2833
logmust sudo mv ./build/distributions/*deb "$WORKDIR/artifacts/"

0 commit comments

Comments
 (0)