Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Simple Config - running maven and ant on desktop (Windows10)

...

The DSpace ant build needs to run on the machine where the install will take place.  Therefore, the ant build should run in a Docker image that runs on the same Docker network


Code Block
docker network create dspacenet
docker run -it --rm -d -p 5432:5432 --network dspacenet --name dspacedbhost terrywbrady/dspacedb
docker run -it --rm -v [dspace-src]/dspace/target/dspace-installer:/installer -v c:/installs/dspace:/dspace -w /installer --network dspacenet terrywbrady/dspace-docker-ant ant update
docker run -it --rm --network dspacenet -v c:/installs/dspace:/dspace -v c:/installs/dspace/webapps/solr:/usr/local/tomcat/webapps/solr -v c:/installs/dspace/webapps/xmlui:/usr/local/tomcat/webapps/xmlui -p 8080:8080 --name dspacetomcat tomcat:8
docker run -it --rm --network dspacenet -v c:/installs/dspace:/dspace -v c:/installs/dspace/webapps/solr:/usr/local/tomcat/webapps/solr -v c:/installs/dspace/webapps/xmlui:/usr/local/tomcat/webapps/xmlui -p 8080:8080 openjdk