From f89e2389947307f3d384704c9c3bcf828e780cf7 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Fri, 25 Oct 2024 09:56:14 +0200 Subject: [PATCH] fixed Issue #611 --- Dockerfile-wildfly-debug | 8 ++------ devi | 5 +++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile-wildfly-debug b/Dockerfile-wildfly-debug index dfec7fc0..4432d876 100644 --- a/Dockerfile-wildfly-debug +++ b/Dockerfile-wildfly-debug @@ -4,22 +4,18 @@ LABEL description="Imixs-Office-Workflow" LABEL maintainer="ralph.soika@imixs.com" # Copy EclipseLink - COPY ./docker/configuration/wildfly/modules/ /opt/jboss/wildfly/modules/ # Setup configuration - COPY ./docker/configuration/wildfly/standalone.xml /opt/jboss/wildfly/standalone/configuration/ # Deploy artefact - -ADD ./imixs-office-workflow-app/target/imixs-office-workflow\*.war /opt/jboss/wildfly/standalone/deployments/ +ADD ./imixs-office-workflow-app/target/imixs-office-workflow*.war /opt/jboss/wildfly/standalone/deployments/ USER root RUN mkdir /opt/jboss/lucene RUN chown -R jboss:jboss /opt/jboss/lucene USER jboss # Run in Debug Mode - -WORKDIR /opt/jboss/wildfly +WORKDIR /opt/jboss CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"] diff --git a/devi b/devi index 9ab6dfed..2077b35f 100755 --- a/devi +++ b/devi @@ -30,6 +30,10 @@ if [[ "$(strip_dash $1)" == "setup" ]]; then docker-compose -f ./docker/docker-compose-dev.yaml up fi +if [[ "$(strip_dash $1)" == "docker" ]]; then + echo " Buld Docker Image..." + mvn clean install -Pdocker +fi if [[ "$(strip_dash $1)" == "start" ]]; then echo " Start Dev Environment..." @@ -62,6 +66,7 @@ if [[ $# -eq 0 ]]; then echo " " echo " -start : start Docker Containers" echo " -build : build application and redeploy" + echo " -docker : build the Docker image" echo " -hot : Manik Hotdeploy" echo " -test : run tests" echo " -setup : setup dev environment - rebuild docker containers "