Docker images (#527)
with this change we're adding generation of 2 docker images - verifier and stub runner we also added a project `spring-cloud-contract-stub-runner-boot` which contains a far jar with stub runner boot fixes gh-526, gh-516
This commit is contained in:
committed by
GitHub
parent
a5bdb32b7c
commit
37d7e8cfd3
12
docker/spring-cloud-contract-docker/Dockerfile
Normal file
12
docker/spring-cloud-contract-docker/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM anapsix/alpine-java:8_jdk
|
||||
|
||||
MAINTAINER Marcin Grzejszczak <mgrzejszczak@pivotal.io>
|
||||
|
||||
COPY project /spring-cloud-contract/
|
||||
WORKDIR /spring-cloud-contract/
|
||||
# Let's copy the downloaded deps to .m2 and the gradle cache
|
||||
COPY target/maven_dependencies /root/.m2/repository/
|
||||
COPY target/gradle_dependencies /root/.gradle/
|
||||
# Let's download gradle wrapper if for some reason it hasn't been downloaded
|
||||
RUN ./gradlew clean build --stacktrace -x copyOutput || echo "Expected to fail"
|
||||
CMD ["./build.sh"]
|
||||
Reference in New Issue
Block a user