mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
added ubuntu
This commit is contained in:
parent
afd4023fdd
commit
38b402e6a3
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
RUN apt update && apt install git -y
|
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 git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git
|
||||||
RUN cd spring-petclinic-jenkins
|
RUN cd spring-petclinic-jenkins
|
||||||
RUN mvn package
|
CMD ["sleep","1d"]
|
||||||
CMD ["java" , "-jar" , "target/*.jar"]
|
|
Loading…
Reference in a new issue