flowgate icon indicating copy to clipboard operation
flowgate copied to clipboard

java command not found in the baseimage

Open badboy-huaqiao opened this issue 3 years ago • 0 comments

Describe the bug

flowgate version: v1.2.0 java command can't be found in the baseimage:1.0

Reproduction steps

  1. docker run -it -d --name test-baseimage baseimage:1.0
  2. docker exec -it test-baseimage /bin/sh
  3. run the below commands in the test-baseimage container
sh-4.4# java
sh: java: command not found
sh-4.4# find / -name java
/usr/lib/jvm/OpenJDK-11.0/bin/java
sh-4.4# /usr/lib/jvm/OpenJDK-11.0/bin/java
Error: dl failure on line 598
Error: failed /usr/lib/jvm/OpenJDK-11.0/lib/server/libjvm.so, because libstdc++.so.6: cannot open shared object file: No such file or directory

Expected behavior

the java command should run correctly

Additional context

No response

badboy-huaqiao avatar Nov 15 '22 09:11 badboy-huaqiao