Skip to content

Conversation

maxandersen
Copy link
Collaborator

Why:

  • jbang-action is hardcoded to use a specific java version
    requiring users to download new java version
  • nicer if can have a docker images that has the java version
    built in

This change addreses the need by:

  • move jbang-action to a separate distribution (might consider dropping it fully)
  • add a jbang-docker repo that builds a docker image with jbang and java
    and publishes under jbangdev/jbang:-java-.

ENV JBANG_VERSION {{projectVersion}}
ENV JBANG_PATH=/jbang/bin

VOLUME /scripts
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

might want to keep /scripts

ENV PATH="${PATH}:/jbang/bin"

## github action does not allow writing to $HOME thus routing this elsewhere
ENV JBANG_DIR="/jbang/.jbang"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

need to check if this is still required.

@maxandersen maxandersen marked this pull request as ready for review July 27, 2025 10:19
maxandersen and others added 6 commits July 27, 2025 12:19
Why:

 * jbang-action is hardcoded to use a specific java version
   requiring users to download new java version
 * nicer if can have a docker images that has the java version
   built in

This change addreses the need by:

 * move jbang-action to a separate distribution (might consider dropping it fully)
 * add a jbang-docker repo that builds a docker image with jbang and java
   and publishes under jbangdev/jbang:<version>-java-<java major version>.
@maxandersen maxandersen merged commit ab92a40 into jbangdev:main Jul 27, 2025
5 checks passed
@maxandersen
Copy link
Collaborator Author

merging this to see if can make it all work :) wish the next release luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant