findepi / graalvm-docker

Apache License 2.0
28 stars 9 forks source link

missing library for native-image on "findepi/graalvm:20.3.0-java11-native" #4

Closed BrunoBonacci closed 3 years ago

BrunoBonacci commented 3 years ago

trying to build a native image using findepi/graalvm:20.3.0-java11-native but i get the following error.

/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status

it looks like the standard c++ library is missing.

please add this to the base image.

 apt-get install -y g++
findepi commented 3 years ago

@BrunoBonacci thanks for the report!

please add this to the base image.

 apt-get install -y g++

would you like to take the privilege of making a PR for this?