Skip to content
Snippets Groups Projects
Verified Commit 7bdd97ef authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

Rm obsolete (see DPSACE_TAG) second git pull

parent a8b32d3a
No related branches found
No related tags found
No related merge requests found
......@@ -92,18 +92,14 @@ COPY commul-customization/tomcat-server.xml /opt/tomcat8/conf/server.xml
#
# Our clarin-dspace tag to checkout
ENV DSPACE_TAG="commul-2020.01.0-rc2_dspace-2020.02.1"
# pre-fetch maven dependencies
# clone specific version tag
RUN git clone --depth 1 --branch "$DSPACE_TAG" --recursive https://github.com/commul/clarin-dspace.git /opt/repository/sources/dspace
WORKDIR /opt/repository/sources/dspace
# pre-fetch maven dependencies
RUN mvn -B -T 1C \
--quiet \
--fail-never \
dependency:copy-dependencies dependency:resolve-plugins dependency:go-offline
#
# 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 /tmp/version.json
RUN git pull
RUN mvn -B -T 1C clean compile
WORKDIR /opt/repository/sources/dspace/utilities/project_helpers
......
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