Skip to content

Commit 31cf32b

Browse files
committed
Use central as thin repo.
Signed-off-by: Olga Maciaszek-Sharma <[email protected]>
1 parent 24a1527 commit 31cf32b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker/spring-cloud-contract-stub-runner-docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ VOLUME /tmp
3333
COPY --chown=scc:scc target/maven_dependencies /home/scc/.m2/repository/
3434
COPY --chown=scc:scc target/libs/stub-runner-boot.jar stub-runner-boot.jar
3535
RUN echo "Fetching dependencies, please wait..."
36-
RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.repo=${THIN_REPO}
37-
RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=rabbit --thin.repo=${THIN_REPO}
38-
RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=kafka --thin.repo=${THIN_REPO}
36+
RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.repo=https://repo.maven.apache.org/maven2
37+
RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=rabbit --thin.repo=https://repo.maven.apache.org/maven2
38+
RUN java -Dthin.dryrun=true -jar stub-runner-boot.jar --thin.profile=kafka --thin.repo=https://repo.maven.apache.org/maven2
3939
COPY --chown=scc:scc run.sh run.sh
4040
ENTRYPOINT ["./run.sh"]

docker/spring-cloud-contract-stub-runner-docker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
<profile>
289289
<id>milestone</id>
290290
<properties>
291-
<thin.repo>https://repo.spring.io/milestone</thin.repo>
291+
<thin.repo>https://repo.maven.apache.org/maven2</thin.repo>
292292
</properties>
293293
</profile>
294294
<profile>

0 commit comments

Comments
 (0)