Duplicate the apk upgrade command to avoid compatibility java issue inside the docker
@@ -2,6 +2,7 @@ FROM openjdk:8-jre-alpine AS java8
WORKDIR app
RUN apk update && \
+ apk upgrade && \
apk upgrade
COPY build/libs/*.jar cx-flow.jar
ENTRYPOINT ["java", "-Xms512m", "-Xmx2048m", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=web", "-jar", "cx-flow.jar"]
