I have been working with Spring boot and Docker. I used to build docker image of applications on JAVA 8. But now i need to build the docker image of application that use JAVA 11. Please guide me about this.
Dockerfile
FROM openjdk:8u121-jdk-alpine
ENV APP_JAR_NAME applicationTest
RUN apk --update add curl bash &&
rm -rf /var/cache/apk/*
RUN mkdir /app
ADD ${APP_JAR_NAME}.jar /app/
ADD run.sh /app/
RUN chmod +x /app/run.sh
WORKDIR /app
EXPOSE 8080
ENTRYPOINT ["/bin/bash","-c"]
CMD ["/app/run.sh"]
Request
please share the Dockerfile that i could used for building docker image of JAVA 11