birb-integrated-bench/Dockerfile
Torma 9706219b2a
Some checks failed
continuous-integration/drone/push Build is failing
init project
2020-10-21 23:24:29 +02:00

15 lines
525 B
Docker

FROM openjdk:11-jre
ENV APPLICATION_USER kotlin
RUN useradd $APPLICATION_USER
RUN mkdir /app
RUN chown -R $APPLICATION_USER /app
USER $APPLICATION_USER
WORKDIR /app
COPY ./build/libs/birb-integrated-bench.jar /app/birb-integrated-bench.jar
COPY ./wave.wav /app/wave.wav
CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "mqtt-benchmark-component.jar"]