-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate the JLink workflow and scripts into the Ubi9 container sources #401
Conversation
Resolves OPENJDK-2181
Copies the scripts into the S2I artifacts directory Resolves OPENJDK-2178
process. Resolves OPENJDK-2179, OPENJDK-2180
modules/s2i/core/artifacts/opt/jboss/container/s2i/core/s2i-core
Outdated
Show resolved
Hide resolved
modules/jlink/artifacts/opt/jboss/container/java/s2i/Dockerfile
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
modules/jlink/artifacts/opt/jboss/container/java/jlink/mkjreimage.sh
Outdated
Show resolved
Hide resolved
Great stuff, all my comments addressed!
Fixing this properly will take a bit of thought: |
modules/util/pathfinder/module.yaml
Outdated
as well as library directories" | ||
|
||
envs: | ||
- name: JBOSS_CONTAINER_JAVA_S2I_MODULE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be JBOSS_CONTAINER_UTIL_PATHFINDER_MODULE
THe new module is going to need a script (conventionally named +execute:
+- script: configure.sh |
For some applications, multiple copies of JARs may exist in JAVA_LIB_DIR. If >1 of those filenames end up collated into the same `cp` invocation, the result will fail ("cp: will not overwrite just-created...) The solution is to serially invoke cp, one per library. This will cause duplicate filenames to overwrite, which is fine if they are the same library, but might mask a different problem if they aren't. Signed-off-by: Jonathan Dowland <[email protected]>
The first line is a shell redirection so the first processes's stdin corresponds to a file; the second line is the first process. Remove the stray pipeline between them. Signed-off-by: Jonathan Dowland <[email protected]>
Signed-off-by: Jonathan Dowland <[email protected]>
Signed-off-by: Jonathan Dowland <[email protected]>
Signed-off-by: Jonathan Dowland <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is ready to be merged to the dev branch, thank you for your hard work!
Initial implementation of adding the jlink scripts to the openjdk container sources.
Related JIRA: https://issues.redhat.com/browse/OPENJDK-2024