diff --git a/benchmark/acmeair-standalone-corretto/Dockerfile b/benchmark/acmeair-standalone-corretto/Dockerfile new file mode 100644 index 0000000..a274de0 --- /dev/null +++ b/benchmark/acmeair-standalone-corretto/Dockerfile @@ -0,0 +1,4 @@ +FROM amazoncorretto:8u362-alpine3.14-jre +ADD acmeair-java-2.0.0-SNAPSHOT.jar / +CMD ["java", "-jar", "/acmeair-java-2.0.0-SNAPSHOT.jar" ] + diff --git a/benchmark/acmeair-tomcat-corretto/Dockerfile b/benchmark/acmeair-tomcat-corretto/Dockerfile new file mode 100644 index 0000000..9fdb277 --- /dev/null +++ b/benchmark/acmeair-tomcat-corretto/Dockerfile @@ -0,0 +1,6 @@ +FROM tomcat:9.0.72-jdk8-corretto-al2 + +ADD config/server.xml /usr/local/tomcat/conf/server.xml +ADD acmeair-java-2.0.0-SNAPSHOT.war /usr/local/tomcat/webapps + +CMD [ "/usr/local/tomcat/bin/catalina.sh", "run" ] diff --git a/benchmark/acmeair-tomcat-corretto/config/server.xml b/benchmark/acmeair-tomcat-corretto/config/server.xml new file mode 100644 index 0000000..fc32800 --- /dev/null +++ b/benchmark/acmeair-tomcat-corretto/config/server.xml @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/benchmark/build.sh b/benchmark/build.sh index 0756e67..2521448 100755 --- a/benchmark/build.sh +++ b/benchmark/build.sh @@ -11,10 +11,12 @@ pushd ${PROJECT} mvn clean package -Pexternal-tomcat cp target/acmeair-java-2.0.0-SNAPSHOT.war ../acmeair-tomcat/ +cp target/acmeair-java-2.0.0-SNAPSHOT.war ../acmeair-tomcat-corretto/ mvn -DskipTests=true package -Pexternal-liberty cp target/acmeair-java-2.0.0-SNAPSHOT.jar ../acmeair-liberty/ cp target/acmeair-java-2.0.0-SNAPSHOT.jar ../acmeair-standalone-chisel/ cp target/acmeair-java-2.0.0-SNAPSHOT.jar ../acmeair-standalone-temurin/ +cp target/acmeair-java-2.0.0-SNAPSHOT.jar ../acmeair-standalone-corretto/ popd @@ -22,5 +24,7 @@ docker build -t acmeair-liberty acmeair-liberty docker build -t acmeair-cliberty acmeair-cliberty docker build -t acmeair-tomcat acmeair-tomcat docker build -t acmeair-ctomcat acmeair-ctomcat +docker build -t acmeair-tomcat-corretto acmeair-tomcat-corretto docker build -t acmeair-standalone-chisel acmeair-standalone-chisel docker build -t acmeair-standalone-temurin acmeair-standalone-temurin +docker build -t acmeair-standalone-corretto acmeair-standalone-corretto