Trying to fix stub runner docker

This commit is contained in:
Marcin Grzejszczak
2022-12-16 15:25:42 +01:00
parent aedf56c657
commit b9b9896c3e
2 changed files with 4 additions and 4 deletions

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 -Dthin.repo=${THIN_REPO} -jar stub-runner-boot.jar
RUN java -Dthin.dryrun=true -Dthin.repo=${THIN_REPO} -jar stub-runner-boot.jar --thin.profile=rabbit
RUN java -Dthin.dryrun=true -Dthin.repo=${THIN_REPO} -jar stub-runner-boot.jar --thin.profile=kafka
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"]

View File

@@ -21,7 +21,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<gradle.task>build</gradle.task>
<build-helper-maven-plugin.phase>package</build-helper-maven-plugin.phase>
<gradle.publish-plugins.task>build</gradle.publish-plugins.task>
<gradle.publish-plugins.task>build</gradle.publish-plugins.task> <!--TODO: Fix me-->
</properties>
<dependencies>