added ubuntu

This commit is contained in:
sridhar 2023-09-06 17:29:35 +05:30
parent 1d4e94e997
commit 737979466f

View file

@ -1,6 +1,6 @@
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
RUN cd spring-petclinic-jenkins
RUN ./mvnw package
CMD ["java" "-jar" "target/*.jar"]