This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 86a6ca7e Runner #855
86a6ca7e is described below
commit 86a6ca7eabc968b59c120f7129bd0765debb143b
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Thu Aug 10 09:32:30 2023 -0400
Runner #855
---
karavan-web/docker/Dockerfile.runner | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/karavan-web/docker/Dockerfile.runner
b/karavan-web/docker/Dockerfile.runner
index f3d5593a..7b9891e2 100644
--- a/karavan-web/docker/Dockerfile.runner
+++ b/karavan-web/docker/Dockerfile.runner
@@ -1,5 +1,12 @@
-FROM jbangdev/jbang-action:0.110.0
+FROM eclipse-temurin:17.0.8_7-jdk
+LABEL "org.opencontainers.image.title"="karavan"
+LABEL "org.opencontainers.image.description"="Apache Camel Karavan Builder"
+LABEL "org.opencontainers.image.url"="https://camel.apache.org"
+LABEL "org.opencontainers.image.licenses"="Apache 2.0"
+LABEL "org.opencontainers.image.version"="4.0.0-RC2"
+
+ENV JBANG_VERSION=0.110.0
ENV CAMEL_VERSION=4.0.0-RC2
ENV KARAVAN="/karavan"
ENV JBANG_REPO="$KARAVAN/.jbang/cache/.m2"
@@ -7,8 +14,10 @@ ENV JBANG_DIR="$KARAVAN/.jbang"
ENV MAVEN_SETTINGS="/karavan-config-map/maven-settings.xml"
ENV KAMELETS_DIR="/scripts/kamelets"
ENV CODE_DIR="/scripts/code"
+ENV PATH="${PATH}:$KARAVAN/.jbang/bin"
-RUN mkdir -p $CODE_DIR \
+RUN curl -Ls https://sh.jbang.dev | bash -s - app setup \
+ && mkdir -p $CODE_DIR \
&& mkdir -p $KAMELETS_DIR \
&& jbang trust add --quiet https://github.com/apache/camel \
&& jbang app install camel@apache/camel