Archived / Obsolete Documentation

Documentation in this space is no longer accurate.
Looking for official DSpace documentation? See all documentation

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Resources

Docker Image Source and Tutorial

https://dspace-labs.github.io/DSpace-Docker-Images/

This repository contains an issue list of enhancement ideas.

Published Docker Images

https://hub.docker.com/u/dspace/

Technical Support and Project Communication 

#dspace-docker Slack Channel

DSpace Developer Show and Tell Meeting

Dev Show and Tell - Aug 28, 2018 - 1500UTC - DSpace On DockerHub

Current Implementation

branchJDKtagDockerfile
master8master./Dockerfile
dspace-6_x8dspace-6_x./Dockerfile
dspace-5_x8dspace-5_x./Dockerfile
dspace-4_x8dspace-4_x./Dockerfile


Proposal: Support Multiple JDK Versions

https://github.com/DSpace-Labs/DSpace-Docker-Images/issues/57

branchJDKtag (proposal 1)tag (proposal 2)DockerfileMavenANTTomcat
master8master-jdk8master/Dockerfile.jdk8maven:latest1.10.5tomcat:8
dspace-6_x8dspace-6_x-jdk8dspace-6_x/Dockerfile.jdk8
maven:latest1.10.5tomcat:8
dspace-5_x8dspace-5_x-jdk8dspace-5_x-jdk8/Dockerfile.jdk8maven:latest1.10.5tomcat:8
dspace-5_x7dspace-5_x-jdk7dspace-5_x/Dockerfile.jdk7maven:3.5.4-jdk-7
or maven:latest
1.9.13tomcat:7.0.90-jre7
dspace-4_x8dspace-4_x-jdk8dspace-4_x-jdk8/Dockerfile.jdk8maven:latest1.10.5tomcat:8
dspace-4_x7dspace-4_x-jdk7dspace-4_x/Dockerfile.jdk7maven:3.5.4-jdk-7
or maven:latest
1.9.13tomcat:7.0.90-jre7

If we support multiple Dockerfiles, what other variants would be useful to build?

  • Create a variant for testing with localhost disabled in Solr and SSL disabled in Rest
  • Other config options?

branchJDKtagDockerfileNote
master8master-jdk8-test/Dockerfile.jdk8-testNo localhost restriction for solr, no ssl required for rest
dspace-6_x8dspace-6_x-jdk8-test/Dockerfile.jdk8-testNo localhost restriction for solr, no ssl required for rest
dspace-5_x8dspace-5_x-jdk8-test/Dockerfile.jdk8-testNo localhost restriction for solr, no ssl required for rest
dspace-5_x7dspace-5_x-jdk7-test/Dockerfile.jdk7-testNo localhost restriction for solr, no ssl required for rest
dspace-4_x8dspace-4_x-jdk8-test/Dockerfile.jdk8-testNo localhost restriction for solr, no ssl required for rest
dspace-4_x7dspace-4_x-jdk7-test/Dockerfile.jdk7-testNo localhost restriction for solr, no ssl required for rest


Implementation Notes

  • Question: are there any other resources we should add to .dockerignore?
  • Can we place multiple Dockerfiles into separate directories?
    • When building from the command line, it is possible to build with a Dockerfile in a subdirectory.
    • Unfortunately, the automated build process on Docker Hub changes the context directory for the build and cannot find necessary resources if the Dockerfile does not live in the root directory.
    • Solution: create multiple Dockerfiles in the root directory with meaningful names.
  • We can create contextual README files for each release.  
    • Unless we move the Dockerfiles to a subdirectory, we cannot change the README that displays in Docker Hub.
    • Solution: I have added a note to the main DSpace README file (see the PR above)

Additional Resources

  • No labels