Revert "Try explicit thin repo."

This reverts commit be9392db79.
This commit is contained in:
Olga Maciaszek-Sharma
2024-11-14 13:56:56 +01:00
parent be9392db79
commit 365c0b1d2f

View File

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