FROM openjdk:11 ARG version ADD target/test-test-${version}.jar /test-test.jar ENTRYPOINT ["java", "-jar", "/test-test.jar"]