* Update to Docker OpenJDK-JDK. The JRE variant is no more * Update Jetty to Java 11
@@ -4,7 +4,7 @@ COPY src src
COPY project.clj project.clj
RUN lein ring uberwar
-FROM openjdk:11.0.3-jre-stretch
+FROM openjdk:11.0.3-jdk-stretch
WORKDIR /resin
RUN curl -sL http://caucho.com/download/resin-4.0.61.tar.gz | tar xz --strip-components=1
RUN rm -rf webapps/*
@@ -5,7 +5,7 @@ COPY scripts scripts
COPY src src
RUN mvn package -DskipTests -q
COPY pom.xml pom.xml
RUN mvn compile assembly:single -q
-FROM openjdk:11.0.3-jre-slim
+FROM openjdk:11.0.3-jdk-slim
WORKDIR /armeria
COPY --from=maven /armeria/target/hello-1.0-SNAPSHOT-jar-with-dependencies.jar app.jar
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-jar", "app.jar"]
@@ -4,7 +4,7 @@ COPY pom.xml pom.xml
RUN mvn package -q
WORKDIR /baratine
COPY --from=maven /baratine/target/testTechempowerBaratine-0.0.1-SNAPSHOT.jar app.jar
CMD ["java", "-jar", "app.jar", "tfb-database"]
WORKDIR /bayou
COPY --from=maven /bayou/target/bayou_TFB-0.1-jar-with-dependencies.jar app.jar
CMD ["java", "-jar", "app.jar"]
WORKDIR /blade
COPY --from=maven /blade/target/hello-blade-latest.jar app.jar
RUN mvn compile war:war -q
RUN mvn package -q -P postgres,jdbi
WORKDIR /dropwizard
COPY --from=maven /dropwizard/target/hello-world-0.0.1-SNAPSHOT.jar app.jar
COPY hello-world-jdbi-postgres.yml hello-world-jdbi-postgres.yml
RUN mvn package -q -P mongo
COPY hello-world-mongo.yml hello-world-mongo.yml
RUN mvn package -q -P postgres
COPY hello-world-postgres.yml hello-world-postgres.yml
RUN mvn package -q -P mysql
COPY hello-world-mysql.yml hello-world-mysql.yml
@@ -9,7 +9,7 @@ RUN mvn -q compile
RUN mv src/main/webapp/WEB-INF/configuration/gemini-mysql.conf src/main/webapp/WEB-INF/configuration/Base.conf
RUN mvn -q war:war
RUN mv src/main/webapp/WEB-INF/configuration/gemini-postgres.conf src/main/webapp/WEB-INF/configuration/Base.conf
RUN mv src/main/webapp/WEB-INF/configuration/gemini.conf src/main/webapp/WEB-INF/configuration/Base.conf
@@ -4,7 +4,7 @@ COPY pom-jersey.xml pom.xml
COPY src-jersey src
WORKDIR /grizzly-jersey
COPY --from=maven /grizzly-jersey/target/grizzly-jersey-example.jar app.jar
WORKDIR /grizzly
COPY --from=maven /grizzly/target/grizzly-bm-0.1-jar-with-dependencies.jar app.jar
CMD ["java", "-Dorg.glassfish.grizzly.nio.transport.TCPNIOTransport.max-receive-buffer-size=16384", "-Dorg.glassfish.grizzly.http.io.OutputBuffer.default-buffer-size=1024", "-Dorg.glassfish.grizzly.memory.BuffersBuffer.bb-cache-size=32", "-jar", "app.jar"]
WORKDIR /helidon
COPY --from=maven /helidon/target/libs libs
COPY --from=maven /helidon/target/benchmark.jar app.jar
WORKDIR /httpserver
COPY --from=maven /httpserver/target/httpserver-1.0-jar-with-dependencies.jar app.jar
CMD ["java", "-server", "-Xss256k", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-jar", "app.jar", "postgres"]
CMD ["java", "-server", "-Xss256k", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-jar", "app.jar"]
@@ -1,10 +1,10 @@
-FROM maven:3.5.3-jdk-10-slim as maven
+FROM maven:3.6.1-jdk-11-slim as maven
WORKDIR /jetty
RUN mvn compile assembly:single -q -P servlet
-FROM openjdk:10-jre-slim
COPY --from=maven /jetty/target/jetty-example-0.1-jar-with-dependencies.jar app.jar
CMD ["java", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-jar", "app.jar"]
@@ -9,9 +9,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <jetty.version>9.4.12.v20180830</jetty.version>
+ <maven.compiler.source>11</maven.compiler.source>
+ <maven.compiler.target>11</maven.compiler.target>
+ <jetty.version>9.4.19.v20190610</jetty.version>
<main.class>hello.handler.HelloWebServer</main.class>
</properties>
@@ -56,6 +56,11 @@
<artifactId>jetty-servlet</artifactId>
<version>${jetty.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.sun.activation</groupId>
+ <artifactId>jakarta.activation</artifactId>
+ <version>1.2.1</version>
+ </dependency>
</dependencies>
<build>
<plugins>
WORKDIR /jlhttp
COPY --from=maven /jlhttp/target/jlhttp-1.0-jar-with-dependencies.jar app.jar
@@ -5,7 +5,7 @@ COPY src src
COPY public public
WORKDIR /jooby
COPY --from=maven /jooby/target/jooby-1.0.jar app.jar
COPY conf conf
RUN mvn package -q -P jetty
WORKDIR /jooby2
COPY --from=maven /jooby2/target/jooby-2x.jar app.jar
RUN mvn package -q -P undertow
RUN mvn package -q -P netty
WORKDIR /minijax
COPY --from=maven /minijax/target/minijax-techempower-0.0.1.jar app.jar
COPY minijax.properties minijax.properties
WORKDIR /nanohttpd
COPY --from=maven /nanohttpd/target/nanohttpd-1.0-jar-with-dependencies.jar app.jar
WORKDIR /netty
COPY --from=maven /netty/target/netty-example-0.1-jar-with-dependencies.jar app.jar
WORKDIR /ninja-standalone
COPY --from=maven /ninja-standalone/target/ninja-standalone-0.0.1-SNAPSHOT-jar-with-dependencies.jar app.jar
CMD ["java", "-Dninja.port=8080", "-jar", "app.jar"]
WORKDIR /officefloor/src/woof_benchmark_micro
RUN mvn -q clean package
WORKDIR /officefloor
COPY --from=maven /officefloor/src/woof_benchmark_micro/target/woof_benchmark_micro-1.0.0.jar server.jar
CMD ["java", "-server", "-Xms2g", "-Xmx2g", "-XX:+UseNUMA", "-Dhttp.port=8080", "-Dhttp.server.name=OF", "-Dhttp.date.header=true", "-jar", "server.jar"]
@@ -8,7 +8,7 @@ RUN mvn -q clean install
WORKDIR /officefloor/src/woof_benchmark_netty
COPY --from=maven /officefloor/src/woof_benchmark_netty/target/woof_benchmark_netty-1.0.0.jar server.jar
WORKDIR /officefloor/src/woof_benchmark_rapidoid
COPY --from=maven /officefloor/src/woof_benchmark_rapidoid/target/woof_benchmark_rapidoid-1.0.0.jar server.jar
WORKDIR /officefloor/src/woof_benchmark_raw
RUN apt-get update && apt-get install -y libjna-java
COPY --from=maven /officefloor/src/woof_benchmark_raw/target/woof_benchmark_raw-1.0.0.jar server.jar
WORKDIR /officefloor/src/woof_benchmark_spring
COPY --from=maven /officefloor/src/woof_benchmark_spring/target/woof_benchmark_spring-1.0.0-exec.jar server.jar
WORKDIR /officefloor/src/woof_benchmark_thread_affinity
COPY --from=maven /officefloor/src/woof_benchmark_thread_affinity/target/woof_benchmark_thread_affinity-1.0.0.jar server.jar
WORKDIR /officefloor/src/woof_benchmark_tpr
COPY --from=maven /officefloor/src/woof_benchmark_tpr/target/woof_benchmark_tpr-1.0.0.jar server.jar
WORKDIR /officefloor/src/woof_benchmark
COPY --from=maven /officefloor/src/woof_benchmark/target/woof_benchmark-1.0.0.jar server.jar
RUN mvn package -q --update-snapshots
WORKDIR /proteus
COPY --from=maven /proteus/target/proteus-techempower-1.0.0.jar app.jar
COPY --from=maven /proteus/target/lib lib
@@ -5,7 +5,7 @@ RUN mvn dependency:go-offline -q
-FROM openjdk:11-jre-slim
WORKDIR /quarkus
COPY --from=maven /quarkus/target/lib lib
COPY --from=maven /quarkus/target/benchmark-1.0-SNAPSHOT-runner.jar app.jar
WORKDIR /rapidoid
COPY --from=maven /rapidoid/target/rapidoid-1.0-jar-with-dependencies.jar app.jar
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-cp", "app.jar", "lowlevel.Main", "profiles=production"]
CMD ["java", "-server", "-Xms2g", "-Xmx2g", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-cp", "app.jar", "highlevel.Main", "profiles=mysql,production"]
CMD ["java", "-server", "-Xms2g", "-Xmx2g", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-cp", "app.jar", "highlevel.Main", "profiles=postgres,production"]
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-cp", "app.jar", "highlevel.Main", "profiles=production"]
@@ -5,7 +5,7 @@ COPY build.gradle build.gradle
RUN gradle shadowJar
WORKDIR /ratpack
COPY --from=gradle /ratpack/build/libs/ratpack-all.jar app.jar
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-jar", "app.jar", "profile.name=jdbc"]
CMD export DBIP=`getent hosts tfb-database | awk '{ print $1 }'` && \
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-jar", "app.jar"]
@@ -5,7 +5,7 @@ COPY src/main/resources/config/dev/mysql-environment.properties src/main/resourc
WORKDIR /restexpress
COPY --from=maven /restexpress/target/world-1.0-SNAPSHOT.jar app.jar
@@ -5,7 +5,7 @@ COPY src/main/resources/config/dev/mongodb-environment.properties src/main/resou
@@ -15,7 +15,7 @@ RUN unzip -o dsl-compiler.zip
RUN rm dsl-compiler.zip
RUN mvn compile war:war -q -P afterburner
RUN mvn compile war:war -q -P cjs
RUN mvn compile war:war -q -P mysql
RUN mvn compile war:war -q -P postgresql
WORKDIR /smart-socket
COPY --from=maven /smart-socket/target/smart-socket-benchmark-1.0-jar-with-dependencies.jar app.jar
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-cp", "app.jar", "org.smartboot.http.Bootstrap"]
WORKDIR /spark
COPY --from=maven /spark/target/hello-spark-1.0.0-BUILD-SNAPSHOT.jar app.jar
WORKDIR /spring
COPY --from=maven /spring/target/spring-webflux-benchmark.jar app.jar
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=OFF", "-jar", "app.jar", "--spring.profiles.active=jdbc,postgres"]
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=OFF", "-jar", "app.jar", "--spring.profiles.active=mongo"]
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=OFF", "-jar", "app.jar", "--spring.profiles.active=pgclient,postgres"]
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=OFF", "-jar", "app.jar", "--spring.profiles.active=rxjdbc,postgres"]
CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=OFF", "-jar", "app.jar", "--spring.profiles.active=r2dbc,postgres"]
COPY --from=maven /spring/target/hello-spring-1.0-SNAPSHOT.jar app.jar
RUN mvn package -q -P hikaricp
WORKDIR /undertow-jersey
COPY --from=maven /undertow-jersey/target/undertow-jersey.jar app.jar
COPY config/framework.properties config/framework.properties
WORKDIR /voovan
COPY --from=maven /voovan/target/voovan-bench-0.1-jar-with-dependencies.jar app.jar
COPY --from=maven /voovan/config/framework.properties config/framework.properties
@@ -8,7 +8,7 @@ COPY src src
RUN gradle --refresh-dependencies clean fatJar
WORKDIR /wizzardo-http
COPY --from=gradle /wizzardo-http/build/libs/wizzardo-http-all-1.0-SNAPSHOT.jar app.jar
CMD ["java", "-Xmx2G", "-Xms2G", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-jar", "app.jar", "env=prod"]
@@ -14,7 +14,7 @@ RUN gradle --quiet --exclude-task test
#
# RUNTIME
ENV DBSTORE postgresql
ENV POSTGRESQL_DB_HOST tfb-database
ENV WEBENGINE jetty
ENV DBSTORE mongodb
ENV MONGODB_DB_HOST tfb-database
@@ -4,7 +4,7 @@ COPY ktor/pom.xml pom.xml
COPY ktor/src src
RUN mvn clean package -q
WORKDIR /ktor
COPY --from=maven /ktor/target/tech-empower-framework-benchmark-1.0-SNAPSHOT-cio-bundle.jar app.jar
@@ -1,4 +1,4 @@
WORKDIR /app
COPY ktor-asyncdb/gradle gradle
COPY ktor-asyncdb/build.gradle build.gradle
COPY --from=maven /ktor/target/tech-empower-framework-benchmark-1.0-SNAPSHOT-jetty-bundle.jar app.jar
COPY --from=maven /ktor/target/tech-empower-framework-benchmark-1.0-SNAPSHOT-netty-bundle.jar app.jar
CMD ["java", "-server","-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-XX:+AlwaysPreTouch", "-jar", "app.jar"]