FROM nexus.myorgdigital.com:8099/myorg-rhel8-jre11:v8.6-943.1665521450-2022q4-j11.0.10 // // use different image here. This image available in my client network USER root RUN mkdir /app #ARG JAR_FILE=target/*.jar #COPY ${JAR_FILE} /app/app.jar ARG JAR_DIR=target/quarkus-app COPY ${JAR_DIR} /app/quarkus-app COPY ./kafka.client.truststore.newsitcerts.jks /app/jks/kafka.client.truststore.newsitcerts.jks COPY ./kafka.client.truststore.jks /app/jks/kafka.client.truststore.jks RUN chmod 775 /app RUN mkdir /var/log/logger RUN chmod -R a+X /app && \ chmod -R a+X /var/log/logger && \ chown -R 1000:1000 /var/log/logger && \ chown -R 1000:1000 /app RUN chmod 775 /app/quarkus-app && chmod -R u+rwX /app/quarkus-app USER 1000 ENV QUARKUS_LAUNCH_DEVMODE=true \ JAVA_ENABLE_DEBUG=true #CMD ["java", "-jar","/app/quarkus-app/quarkus-run.jar"] ENTRYPOINT ["java", "-jar","/app/quarkus-app/quarkus-run.jar"]