From afd4023fddd5d554ba9404a3247146cde221288c Mon Sep 17 00:00:00 2001 From: sridhar Date: Wed, 6 Sep 2023 17:31:25 +0530 Subject: [PATCH] added ubuntu --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ee657739..83bf5b9d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,5 +2,5 @@ FROM ubuntu:22.04 RUN apt update && apt install git -y RUN git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git RUN cd spring-petclinic-jenkins -RUN ./mvnw package -CMD ["java" "-jar" "target/*.jar"] \ No newline at end of file +RUN mvn package +CMD ["java" , "-jar" , "target/*.jar"] \ No newline at end of file