Open cnnaik opened 1 year ago
I see lr-xr-xr-x 0/0 0 1999-12-31 17:00 usr/bin/java -> /usr/lib/jvm/java-17-openjdk-ppc64le/bin/java
You may want to use the full path on your entrypoint
$ docker pull gcr.io/distroless/java17-debian11:nonroot-ppc64le $ docker save gcr.io/distroless/java17-debian11:nonroot-ppc64le -o mytarball.tar $ tar -tvf myrarball.tar
I looked at the largest tarball and saw the above pasted entry
Thanks @lathama for the inputs, we will check this and update.
@lathama After adding above full java path in entrypoint there is same observation, the error still persists.
@lathama , Team, Can you please point to the steps for building this distroless docker image locally? Looks like it uses bazel build.
There are some instructions on the README. I lack access to PPC or otherwise I would do some validation.
There are some instructions on the README. I lack access to PPC or otherwise I would do some validation.
@lathama I will go through the link you have provided.
Getting a ppc64le node/vm can be done via a opensource community based VM request form - https://osuosl.org/services/powerdev/request_hosting/ . Please put in Gerrit Huizenga as the IBM Advocate while filling up the form. Please let us know if this works to get access to a power instance.
@lathama Could you please try to get the power instance for validation at your end and update us?
@lathama Could you please look into getting power instance for validation.
@cnnaik please be advised that @lathama is a community member who may or may not have time to work on this. It would be more helpful if you could debug this problem on your side and update this project with details.
Ok thanks for the update @loosebazooka. We will try to work on it.
Describe the bug I was trying to create a dockerfile using [gcr.io/distroless/java17-debian11:nonroot-ppc64le]. The dockerfile builds successfully, however while I try to create a container for this image the container creation fails as java is not available for power architecture. Tried to create a container by just pulling distroless image, results in same error. Can u please verify this and provide a workaround for us to use this image.
To Reproduce
Expected behavior Container should be created and java version should be printed.
Console Output Error logs are here for all image variants tried on power:
``
On x86:
Additional context found a similar issue here - Java 11 and 17 multiarch debug images missing java · Issue #906 · GoogleContainerTools/distroless (github.com