You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/08/10 13:53:03 UTC
[camel-karavan] branch main updated: DevMode with maven #855
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 674276e7 DevMode with maven #855
674276e7 is described below
commit 674276e7c5ae8fce27dcad4a9ebb6ca296f0c4d6
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Thu Aug 10 09:52:48 2023 -0400
DevMode with maven #855
---
karavan-web/docker/Dockerfile.devmode | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/karavan-web/docker/Dockerfile.devmode b/karavan-web/docker/Dockerfile.devmode
index ddb89e37..e6137741 100644
--- a/karavan-web/docker/Dockerfile.devmode
+++ b/karavan-web/docker/Dockerfile.devmode
@@ -1,4 +1,4 @@
-FROM eclipse-temurin:17.0.8_7-jdk
+FROM maven:3.9.3-eclipse-temurin-17-alpine
LABEL "org.opencontainers.image.title"="karavan"
LABEL "org.opencontainers.image.description"="Apache Camel Karavan DevMode"
@@ -16,8 +16,7 @@ ENV KAMELETS_DIR="/scripts/kamelets"
ENV CODE_DIR="/scripts/code"
ENV PATH="${PATH}:$KARAVAN/.jbang/bin"
-RUN apt-get update -y && apt-get install maven git -y && apt-get clean \
- && curl -Ls https://sh.jbang.dev | bash -s - app setup \
+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 \