apupier commented on code in PR #14409: URL: https://github.com/apache/camel/pull/14409#discussion_r1629705424
########## dsl/camel-jbang/camel-jbang-container/Dockerfile: ########## @@ -15,9 +15,21 @@ # limitations under the License. # -FROM docker.io/jbangdev/jbang-action +FROM docker.io/eclipse-temurin:21-jdk + +ENV JBANG_VERSION=0.116.0 +# /!\ Camel version must be changed in the entrypoint line too +ENV CAMEL_VERSION=4.6.0 + +RUN wget -c https://github.com/jbangdev/jbang/releases/download/v$JBANG_VERSION/jbang.tar -O - | tar xv && \ + chmod +x jbang/bin/jbang +ENV PATH="${PATH}:/jbang/bin" +ENV JBANG_PATH=/jbang/bin RUN jbang trust add https://github.com/apache/camel + +# used to initiliaze dependencies in the docker image +RUN jbang -Dcamel.jbang.version=$CAMEL_VERSION camel@apache/camel version -ENTRYPOINT [ "jbang", "-Dcamel.jbang.version=4.6.0", "camel@apache/camel"] +ENTRYPOINT [ "jbang", "-Dcamel.jbang.version=4.6.0", "camel@apache/camel"] Review Comment: not found a way to reuse the ENV (or ARG) of Camel JBang here -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org