From 365c0b1d2f71a13426ed61e19edd369eb3e26a7e Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Thu, 14 Nov 2024 13:56:56 +0100 Subject: [PATCH] Revert "Try explicit thin repo." This reverts commit be9392db79efabf00daa51d29eeca6659cc290e9. --- docker/spring-cloud-contract-stub-runner-docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/spring-cloud-contract-stub-runner-docker/Dockerfile b/docker/spring-cloud-contract-stub-runner-docker/Dockerfile index b2308bdd60..bbdb64cea8 100644 --- a/docker/spring-cloud-contract-stub-runner-docker/Dockerfile +++ b/docker/spring-cloud-contract-stub-runner-docker/Dockerfile @@ -33,8 +33,8 @@ VOLUME /tmp COPY --chown=scc:scc target/maven_dependencies /home/scc/.m2/repository/ COPY --chown=scc:scc target/libs/stub-runner-boot.jar stub-runner-boot.jar RUN echo "Fetching dependencies, please wait..." -RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.repo=https://repo.spring.io/milestone -RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=rabbit --thin.repo=https://repo.spring.io/milestone -RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=kafka --thin.repo=https://repo.spring.io/milestone +RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.repo=${THIN_REPO} +RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=rabbit --thin.repo=${THIN_REPO} +RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=kafka --thin.repo=${THIN_REPO} COPY --chown=scc:scc run.sh run.sh ENTRYPOINT ["./run.sh"]