Skip to content
Snippets Groups Projects
Commit 2083e7a3 authored by Alexander König's avatar Alexander König
Browse files

added prefetching of maven dependencies (cf. #11)

parent c488c43d
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,10 @@ COPY commul-customization/tomcat-server.xml /opt/tomcat8/conf/server.xml
# install Dspace
# pre-fetch maven dependencies
COPY commul-customization/dspace-pom.xml /tmp/pom.xml
WORKDIR /tmp/
RUN mvn dependency:resolve
# all files could be copied into a /tmp folder within the container first (maybe that could be mounted?); see also dspace-entrypoint.sh
# this checks if there was a new commit since the last build
ADD https://api.github.com/repos/commul/clarin-dspace/git/refs/heads/commul-custom version.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment