Run java program on wolfi base image #17981
-
Hello Team, WORKDIR /app RUN apk update && apk add openjdk-21 COPY HelloWolfi.class /app ENTRYPOINT ["java", "HelloWolfi"] Any example or tutorial will also helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @omkarkakade2017. Are you having a problem with the image? It's not really clear to me what you're asking. We do have some Java resources though:
There is also a supporting GitHub repo you can play with: https://github.com/chainguard-dev/learning-labs-java |
Beta Was this translation helpful? Give feedback.
Hi @omkarkakade2017.
Are you having a problem with the image? It's not really clear to me what you're asking. We do have some Java resources though:
There is also a supporting GitHub repo you can play with: https://github.com/chainguard-dev/learning-labs-java