From 45b8687e2209146a5afef09908ea471bae75856a Mon Sep 17 00:00:00 2001 From: Philipp Wundrack Date: Mon, 30 May 2022 16:52:11 +0200 Subject: [PATCH 01/14] fix image building on m1 processor --- Dockerfile | 4 +++- README | 14 +++++++++++--- server.xml.tpl | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7fe15087e..55e656b6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN jruby -S bundler install --gemfile=/workspace/Gemfile \ FROM tomcat:8.5-jre8 LABEL maintainer "Johannes Wettinger , Michael Wurster , Michael Hahn " -ARG DOCKERIZE_VERSION=v0.3.0 +ARG DOCKERIZE_VERSION=v0.6.1 ENV TOMCAT_USERNAME admin ENV TOMCAT_PASSWORD admin @@ -39,6 +39,8 @@ ADD server.xml.tpl ${CATALINA_HOME}/conf/server.xml.tpl ADD axis2.xml.tpl ${CATALINA_HOME}/webapps/ode/WEB-INF/conf/axis2.xml.tpl ADD log4j2.xml.tpl ${CATALINA_HOME}/webapps/ode/WEB-INF/classes/log4j2.xml.tpl +RUN mkdir ${CATALINA_HOME}/webapps/manager + EXPOSE 9763 CMD dockerize -template ${CATALINA_HOME}/conf/tomcat-users.xml.tpl:${CATALINA_HOME}/conf/tomcat-users.xml \ diff --git a/README b/README index 69746cd4e..1cc722deb 100644 --- a/README +++ b/README @@ -1,6 +1,4 @@ -============== - Apache ODE -============== +# Apache ODE Apache ODE is a WS-BPEL compliant web services orchestration engine. It organizes web services calls following a process description @@ -34,3 +32,13 @@ Finally here is a non exhaustive but representative features list: with virtually any communication layer or even embed it. +## Docker +### Build image on M1 Processor + +Clone the repo https://github.com/sathwik/docker-buildr go to the folder `jruby-jdk8` build the image with: + +`docker build -t sathwik/apache-buildr:latest-jruby-jdk8 .` + +Go to the ODE folder and build the image with: + +`docker build -t opentosca/ode:latest .` diff --git a/server.xml.tpl b/server.xml.tpl index 00abc4013..e24195655 100644 --- a/server.xml.tpl +++ b/server.xml.tpl @@ -90,7 +90,7 @@ + maxSwallowSize="-1" secretRequired="false" />