fix silly path mess-up (#6305)
This commit is contained in:
parent
392181a44b
commit
f6ba3cf9e3
|
@ -7,9 +7,9 @@ FROM eclipse-temurin:11 as app-build
|
||||||
RUN apt update && apt install -y git
|
RUN apt update && apt install -y git
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN git clone http://github.com/spring-petclinic/spring-petclinic-rest.git
|
RUN git clone http://github.com/spring-petclinic/spring-petclinic-rest.git
|
||||||
|
WORKDIR /app/spring-petclinic-rest
|
||||||
# We have to pin the version because upstream petclinic has breaking api changes after this commit
|
# We have to pin the version because upstream petclinic has breaking api changes after this commit
|
||||||
RUN git checkout 8aa4d49
|
RUN git checkout 8aa4d49
|
||||||
WORKDIR /app/spring-petclinic-rest
|
|
||||||
RUN ./mvnw package -Dmaven.test.skip=true
|
RUN ./mvnw package -Dmaven.test.skip=true
|
||||||
RUN cp target/spring-petclinic-rest*.jar /app/spring-petclinic-rest.jar
|
RUN cp target/spring-petclinic-rest*.jar /app/spring-petclinic-rest.jar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue