inverno-postgres.dockerfile 554 B

12345678910111213
  1. FROM maven:3.9.6-amazoncorretto-21 as maven
  2. WORKDIR /inverno
  3. COPY src src
  4. COPY pom.xml pom.xml
  5. RUN yum -y install binutils
  6. RUN mvn package -q -Pio.inverno.io_uring
  7. EXPOSE 8080
  8. CMD export DBIP=`getent hosts tfb-database | awk '{ print $1 }'` && \
  9. target/inverno-benchmark-1.0.0-SNAPSHOT-application_linux_amd64/bin/inverno-benchmark \
  10. --com.techempower.inverno.benchmark.appConfiguration.db_host=\"$DBIP\" \
  11. --com.techempower.inverno.benchmark.appConfiguration.boot.reactor_event_loop_group_size=$((`grep --count ^processor /proc/cpuinfo`))