This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch quick-fix/cli-dockerfile-trust-continuation in repository https://gitbox.apache.org/repos/asf/camel.git
commit 39c2abeeb49cdd08d11b8580cf443d6814e17b54 Author: Claus Ibsen <[email protected]> AuthorDate: Tue Sep 8 12:10:40 2026 +0200 chore: fix dangling line continuation in the Camel CLI test-infra Dockerfile The `jbang trust add` line ends with a backslash followed by a blank line, so Docker continues the command onto the next line and folds the following `RUN echo` instruction into it. jbang then receives the words of that echo as extra arguments and trusts them as if they were URLs: [jbang] Trusting permanently: [https://github.com/apache/camel/, RUN, echo, Using JBang default version from apache/camel/main] Docker reports this as `NoEmptyContinuation: Empty continuation line (line 59)`. Drop the trailing backslash so `jbang trust add` ends where it should and the `RUN echo` is its own instruction again: [jbang] Trusting permanently: [https://github.com/apache/camel/] Verified by building the container image before and after; the build succeeds and the warning is gone. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../main/resources/org/apache/camel/test/infra/cli/services/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile b/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile index e61e0c4e6a48..4d06d4456d67 100644 --- a/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile +++ b/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile @@ -54,7 +54,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java RUN echo "Installing JBang..." RUN curl -Ls https://sh.jbang.dev | bash -s - app setup \ && source ~/.bashrc \ - && jbang trust add https://github.com/$CAMEL_REPO/ \ + && jbang trust add https://github.com/$CAMEL_REPO/ RUN echo "Using JBang $CAMEL_JBANG_VERSION version from $CAMEL_REPO/$CAMEL_REF" RUN source ~/.bashrc \
