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