Skip to content

Commit 590b364

Browse files
committed
Add more Java commands to PATH
Signed-off-by: Kevin Grigorenko <kevin.grigorenko@us.ibm.com>
1 parent 27d02ac commit 590b364

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Containerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ RUN dnf install -y \
7878
RUN mkdir -p /opt/java/11/ && \
7979
wget -q -O - https://www.ibm.com/semeru-runtimes/api/v3/binary/latest/11/ga/linux/$(if [ "$(uname -m)" = "x86_64" ]; then echo "x64"; else uname -m; fi)/jdk/openj9/normal/ibm | tar -xzf - --directory /opt/ && \
8080
mv /opt/jdk* /opt/java/11/semeru && \
81-
ln -s /opt/java/11/semeru/bin/java /usr/local/bin/
81+
for J in java javac jar jdmpview javap jcmd jpackcore keytool jstat jdb jps jstack jconsole jjs jmap jrunscript jitserver jshell traceformat; do \
82+
ln -s /opt/java/11/semeru/bin/${J} /usr/local/bin/; \
83+
done
8284

8385
RUN get_git() { \
8486
wget -q -O /tmp/$1_$2_master.zip https://github.com/$1/$2/archive/master.zip; \

0 commit comments

Comments
 (0)