Skip to content

Commit 06d732b

Browse files
[universal] Update container (#714)
* Remove Maven patch * Remove NVS patch
1 parent 992d14d commit 06d732b

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/universal/.devcontainer/local-features/setup-user/install.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ chmod +x /etc/profile.d/00-restore-env.sh
2020

2121
export DEBIAN_FRONTEND=noninteractive
2222

23-
# Temporary: Due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29425
24-
MAVEN_PATH=$(cd /usr/local/sdkman/candidates/maven/3*/lib/ && pwd)
25-
rm -f ${MAVEN_PATH}/commons-io-*
26-
curl -sSL https://github.com/apache/commons-io/archive/refs/tags/commons-io-2.11.0-RC1.tar.gz | tar -xzC /tmp 2>&1
27-
jar cf ${MAVEN_PATH}/commons-io-2.11.jar /tmp/commons-io-commons-io-2.11.0-RC1
28-
rm -rf /tmp/commons-io-commons-io-2.11.0-RC1
29-
30-
# Temporary: Due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0536 & https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0155
31-
rm -rf /usr/local/nvs/deps/node_modules/follow-redirects/*
32-
curl -sSL https://github.com/follow-redirects/follow-redirects/archive/refs/tags/v1.15.2.tar.gz | tar -xzC /tmp 2>&1
33-
mv /tmp/follow-redirects-1.15.2/* /usr/local/nvs/deps/node_modules/follow-redirects/
34-
3523
sudo_if() {
3624
COMMAND="$*"
3725
if [ "$(id -u)" -eq 0 ] && [ "$USERNAME" != "root" ]; then

src/universal/test-project/test.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ check "java-12.0.2-installed-by-oryx" ls /opt/java/ | grep 12.0.2
183183
check "java-version-on-path-is-12.0.2" java --version | grep 12.0.2
184184

185185
# Test patches
186-
MAVEN_PATH=$(cd /usr/local/sdkman/candidates/maven/3*/lib/ && pwd)
187-
check "commons-io-lib" bash -c "ls ${MAVEN_PATH} | grep commons-io-2.11.jar"
188186

189187
ls -la /home/codespace
190188

0 commit comments

Comments
 (0)