mweissdigchg opened a new pull request, #19540: URL: https://github.com/apache/camel/pull/19540
This PR resolves [CAMEL-22535](https://issues.apache.org/jira/browse/CAMEL-22535) and has the following improvements: - Switches back to the official eclipse-temurin image to improve supply chain security - Has only one RUN and ENV statement to avoid unnecessary intermediate image layers - Introduces a new environment variable `CAMEL_JBANG_COMMIT` which pins to a specific version of `dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java` - Has the `jbang` and `camel` executables under `/usr/local/bin`, thus no additional `PATH` is required - Fails if the download of jbang tarball fails (which wasn't the case) - Extracts only linux binaries from jbang tarball - Creates a `camel` executable which is pinned to the commit id declared with `CAMEL_JBANG_COMMIT` - Sets JBang `version.txt` - Uses `camel` as the new entrypoint In future builds you have to update `CAMEL_JBANG_COMMIT` in addition to `JBANG_VERSION` and `CAMEL_VERSION` in the Dockerfile. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
