Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

java command not found in the baseimage #897

@badboy-huaqiao

Description

@badboy-huaqiao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions