Skip to content

Upgrade Native Image Containerization workshop to GraalVM for JDK 24. #27

Merged
shaunsmith merged 1 commit into
mainfrom
upgrade-containerisation-to-jdk24
Jun 2, 2025
Merged

Upgrade Native Image Containerization workshop to GraalVM for JDK 24. #27
shaunsmith merged 1 commit into
mainfrom
upgrade-containerisation-to-jdk24

Conversation

@olyagpl

@olyagpl olyagpl commented May 23, 2025

Copy link
Copy Markdown
Member

We have a Luna Labs version of this workshop too: https://luna.oracle.com/lab/268ea851-2f09-43e6-8d70-40a10cb4de03
It has been already upgraded, so I updated the GitHub version accordingly.

  1. Upgraded Understanding Containerization and GraalVM Native Image workshop to GraalVM for JDK 24 and latest Native Build Tools.
  2. Extended the GitHub workflow by add steps to test all Docker builds.
  3. Dockerfiles required updates.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 23, 2025
@olyagpl olyagpl force-pushed the upgrade-containerisation-to-jdk24 branch from efb169d to 9a326de Compare May 23, 2025 17:25
@olyagpl olyagpl force-pushed the upgrade-containerisation-to-jdk24 branch from 2d59b38 to 81b2c9f Compare May 23, 2025 18:38
-t jibber:jdk.01 .
container_id=$(docker run --rm -d --name "jibber-jdk" -p 8080:8080 jibber:jdk.01)
sleep 10
curl "http://localhost:8080/jibber"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check fails at this step:

#7 naming to docker.io/library/jibber:jdk.01 done
#7 DONE 0.8s
curl: (7) Failed to connect to localhost port 8080 after 0 ms: Couldn't connect to server
Error: Process completed with exit code 7.

Should the address be in ""?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olyagpl olyagpl force-pushed the upgrade-containerisation-to-jdk24 branch 2 times, most recently from 7f797b9 to 492d9d3 Compare May 27, 2025 10:01
@olyagpl olyagpl force-pushed the upgrade-containerisation-to-jdk24 branch from ea3368a to 4bd56b5 Compare May 30, 2025 15:42
@shaunsmith shaunsmith merged commit 171a861 into main Jun 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants