mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
print env
This commit is contained in:
parent
043fa2d326
commit
f34940ddf0
1 changed files with 1 additions and 2 deletions
|
@ -3,14 +3,13 @@ WORKDIR /app
|
||||||
|
|
||||||
COPY pom.xml ./
|
COPY pom.xml ./
|
||||||
RUN mvn dependency:go-offline
|
RUN mvn dependency:go-offline
|
||||||
|
RUN echo $build_id
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN mvn validate compile test
|
RUN mvn validate compile test
|
||||||
RUN mvn package
|
RUN mvn package
|
||||||
|
|
||||||
FROM openjdk:8-jre-alpine
|
FROM openjdk:8-jre-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN echo "$build_id"
|
|
||||||
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic.jar
|
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic.jar
|
||||||
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic-2.4.0.BUILD-${env.BUILD_ID}.jar
|
COPY --from=build-env /app/target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar ./spring-petclinic-2.4.0.BUILD-${env.BUILD_ID}.jar
|
||||||
RUN apk update && apk --no-cache add curl
|
RUN apk update && apk --no-cache add curl
|
||||||
|
|
Loading…
Reference in a new issue