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

always check out branch commul-custom from clarin-dspace repository

parent 45cd6418
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ COPY commul-customization/tomcat-server.xml /opt/tomcat8/conf/server.xml
# 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/clarin version.json
RUN git clone https://github.com/commul/clarin-dspace.git -b clarin /opt/repository/sources/dspace
RUN git clone https://github.com/commul/clarin-dspace.git -b commul-custom /opt/repository/sources/dspace
WORKDIR /opt/repository/sources/dspace/utilities/project_helpers
RUN ./setup.sh /opt/repository/workspace
COPY commul-customization/variable.makefile /opt/repository/workspace/config/variable.makefile
......
#!/bin/bash
git clone https://github.com/commul/clarin-dspace.git -b clarin /tmp/dspace
git clone https://github.com/commul/clarin-dspace.git -b commul-custom /tmp/dspace
cp /tmp/dspace/utilities/utilities.sql /tmp/sql/
cp /tmp/dspace/utilities/license_definition.txt /tmp/sql/
perl -pi -e "s#afile :utildir '/license_definition.txt'#afile '/tmp/sql/license_definition.txt'#;" /tmp/sql/utilities.sql
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment