Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clarin-dspace
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
commul
docker
clarin-dspace
Commits
4ef7cb86
Commit
4ef7cb86
authored
7 years ago
by
Alexander König
Browse files
Options
Downloads
Patches
Plain Diff
added entrypoint to handle dockerfile
added building of dspace to the dspace dockerfile
parent
d23e6dfc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile.dspace
+5
-3
5 additions, 3 deletions
Dockerfile.dspace
Dockerfile.handle
+1
-0
1 addition, 0 deletions
Dockerfile.handle
with
6 additions
and
3 deletions
Dockerfile.dspace
+
5
−
3
View file @
4ef7cb86
...
@@ -15,10 +15,10 @@ RUN cpanm File::Spec::Functions
...
@@ -15,10 +15,10 @@ RUN cpanm File::Spec::Functions
RUN cpanm Term::ReadLine
RUN cpanm Term::ReadLine
# install jdk, ant, psql, mvn, make, libxml, xsltproc, zip, wget
# install jdk, ant, psql, mvn, make, libxml, xsltproc, zip, wget
RUN apt-get -y install openjdk-8-jdk ant maven libxml2-utils xsltproc unzip curl git
RUN apt-get
update && apt-get
-y install openjdk-8-jdk ant maven libxml2-utils xsltproc unzip curl git
# install convenience apps for debug purposes (vim and jsbeautifier)
# install convenience apps for debug purposes (vim and jsbeautifier)
RUN apt-get -y install vim less python-pip
RUN apt-get
update && apt-get
-y install vim less python-pip
RUN pip install --upgrade pip
RUN pip install --upgrade pip
RUN pip install jsbeautifier
RUN pip install jsbeautifier
COPY commul-customization/__init__.py /usr/local/lib/python2.7/dist-packages/jsbeautifier/
COPY commul-customization/__init__.py /usr/local/lib/python2.7/dist-packages/jsbeautifier/
...
@@ -66,8 +66,10 @@ RUN chmod u+x /opt/repository/workspace/scripts/*_stack.sh
...
@@ -66,8 +66,10 @@ RUN chmod u+x /opt/repository/workspace/scripts/*_stack.sh
WORKDIR /opt/repository/workspace/scripts
WORKDIR /opt/repository/workspace/scripts
RUN make install_libs
RUN make install_libs
RUN make new_deploy
# copy over config files
# copy over config files
COPY commul-customization/aai_config.js /
tmp
/
COPY commul-customization/aai_config.js /
opt/lindat-dspace/installation/webapps/xmlui/themes/UFAL/lib/js
/
CMD tail -f /opt/repository/sources/dspace/dspace-api/src/test/data/dspaceFolder/log/dspace.log
CMD tail -f /opt/repository/sources/dspace/dspace-api/src/test/data/dspaceFolder/log/dspace.log
This diff is collapsed.
Click to expand it.
Dockerfile.handle
+
1
−
0
View file @
4ef7cb86
...
@@ -30,3 +30,4 @@ RUN perl -pi -e 's/YOUR_PREFIX/20.500.12084/' /hs/svr_1/config.dct
...
@@ -30,3 +30,4 @@ RUN perl -pi -e 's/YOUR_PREFIX/20.500.12084/' /hs/svr_1/config.dct
RUN perl -pi -e 's/case_sensitive" = "no/case_sensitive" = "yes/' /hs/svr_1/config.dct
RUN perl -pi -e 's/case_sensitive" = "no/case_sensitive" = "yes/' /hs/svr_1/config.dct
RUN perl -i -plne 'print " \"storage_type\" = \"CUSTOM\"\n\ \"storage_class\" = \"org.dspace.handle.HandlePlugin\"" if(/max_session/);' /hs/svr_1/config.dct
RUN perl -i -plne 'print " \"storage_type\" = \"CUSTOM\"\n\ \"storage_class\" = \"org.dspace.handle.HandlePlugin\"" if(/max_session/);' /hs/svr_1/config.dct
# ENTRYPOINT ["/bin/bash"]
# ENTRYPOINT ["/bin/bash"]
CMD tail -f /hs/svr_1/config.dct
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment