File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
.devcontainer/local-features/setup-user Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ chmod +x /etc/profile.d/00-restore-env.sh
2020
2121export DEBIAN_FRONTEND=noninteractive
2222
23+ # Temporary: Due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4065
24+ GRADLE_PATH=$( cd /usr/local/sdkman/candidates/gradle/8* /lib/plugins/ && pwd)
25+ rm -f ${GRADLE_PATH} /testng-*
26+ curl -sSL https://github.com/cbeust/testng/archive/refs/tags/7.7.0.tar.gz | tar -xzC /tmp 2>&1
27+ jar cf ${GRADLE_PATH} /testng-7.7.0.jar /tmp/testng-7.7.0
28+ rm -rf /tmp/testng-7.7.0
29+
2330# Temporary: Due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29425
2431MAVEN_PATH=$( cd /usr/local/sdkman/candidates/maven/3* /lib/ && pwd)
2532rm -f ${MAVEN_PATH} /commons-io-*
Original file line number Diff line number Diff line change @@ -178,6 +178,9 @@ check "java-12.0.2-installed-by-oryx" ls /opt/java/ | grep 12.0.2
178178check " java-version-on-path-is-12.0.2" java --version | grep 12.0.2
179179
180180# Test patches
181+ GRADLE_PATH=$( cd /usr/local/sdkman/candidates/gradle/8* /lib/plugins && pwd)
182+ check " testng-plugin" bash -c " ls ${GRADLE_PATH} | grep testng-7.7.0.jar"
183+
181184MAVEN_PATH=$( cd /usr/local/sdkman/candidates/maven/3* /lib/ && pwd)
182185check " commons-io-lib" bash -c " ls ${MAVEN_PATH} | grep commons-io-2.11.jar"
183186
You can’t perform that action at this time.
0 commit comments