fix silly path mess-up (#6305)

This commit is contained in:
jason plumb 2022-07-11 13:18:41 -07:00 committed by GitHub
parent 392181a44b
commit f6ba3cf9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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