This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 46ae5dc4db39 chore: fix dangling line continuation in the Camel CLI 
test-infra Dockerfile (#26202)
46ae5dc4db39 is described below

commit 46ae5dc4db391934ec4936c7c9926199328fbbef
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Sep 8 13:08:45 2026 +0200

    chore: fix dangling line continuation in the Camel CLI test-infra 
Dockerfile (#26202)
    
    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.
    
    Signed-off-by: Claus Ibsen <[email protected]>
    Co-authored-by: Claude Opus 5 (1M context) <[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 \

Reply via email to