diff --git a/Dockerfile b/Dockerfile index 83bf5b9d2..5d9e5bdd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:22.04 RUN apt update && apt install git -y +RUN apt-get install openjdk-17-jdk -y RUN git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git RUN cd spring-petclinic-jenkins -RUN mvn package -CMD ["java" , "-jar" , "target/*.jar"] \ No newline at end of file +CMD ["sleep","1d"] \ No newline at end of file