This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN groupadd --gid $USER_GID $USERNAME \
21
21
&& chmod 0440 /etc/sudoers.d/$USERNAME
22
22
23
23
# Verify git, needed tools installed
24
- RUN yum install -y git net-tools curl procps unzip
24
+ RUN yum install -y git net-tools which curl procps unzip
25
25
26
26
# -------------------Uncomment the following steps to install Maven CLI Tools----------------------------------
27
27
# ARG MAVEN_VERSION=3.6.1
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ curl -sSL https://github.com/takari/maven-wrapper/archive/maven-wrapper-0.5.5.ta
41
41
mv maven-wrapper-maven-wrapper-0.5.5/mvnw mvnw
42
42
mv maven-wrapper-maven-wrapper-0.5.5/.mvn .mvn
43
43
rm -rf mv maven-wrapper-maven-wrapper-0.5.5
44
+ export MAVEN_OPTS=--enable-preview
44
45
45
46
# Actual tests
46
47
checkMultiple " vscode-server" 1 " [ -d " " $HOME /.vscode-server/bin" " ]" " [ -d " " $HOME /.vscode-server-insiders/bin" " ]" " [ -d " " $HOME /.vscode-test-server/bin" " ]"
@@ -49,10 +50,10 @@ check "non-root-user" "id vscode"
49
50
check " /home/vscode" [ -d " /home/vscode" ]
50
51
check " sudo" sudo -u vscode echo " sudo works."
51
52
check " git" git --version
52
- check " command-line-tools" which top ip lsb_release curl
53
+ check " command-line-tools" which top ifconfig curl
53
54
check " java" java -version
54
55
check " build-and-test-jar" ./mvnw package
55
- check " test-project" java -jar target/my-app-1.0-SNAPSHOT.jar
56
+ check " test-project" java --enable-preview - jar target/my-app-1.0-SNAPSHOT.jar
56
57
57
58
# Clean up
58
59
rm -f mvnw
You can’t perform that action at this time.
0 commit comments