Changeset 1705:439aefc7a6c9 in digilib (mirror)


Ignore:
Timestamp:
Feb 18, 2019 6:32:15 PM (4 weeks ago)
Author:
Robert Casties <casties@…>
Branch:
default
message:
3f3e903e
Message:

README for Docker hub and configuration options for container.

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r1663 r1705  
    3131* [Source code](https://github.com/robcast/digilib)
    3232* [Issue tracker](https://github.com/robcast/digilib/issues)
     33* [Docker images](https://hub.docker.com/r/robcast/digilib)
    3334* Daily built [WAR files](https://it-dev.mpiwg-berlin.mpg.de/downloads/digilib/daily-build/)
    3435* Daily built [Javadoc](https://it-dev.mpiwg-berlin.mpg.de/downloads/digilib/daily-build/javadoc/)
     
    5960   `mvn jetty:run-exploded --projects webapp`
    6061   
    61    and watch digilib at http://localhost:8080/digilib/digilib.html
     62   and open http://localhost:8080/digilib/digilib.html in your browser.
    6263
    6364or follow the build and install instructions on the [documentation pages](https://robcast.github.io/digilib/).
  • build/docker/Dockerfile

    r1703 r1705  
    33WORKDIR /usr/src/digilib
    44COPY . /usr/src/digilib/
    5 RUN mvn package
     5ARG MVN_ARGS
     6# build digilib using maven
     7RUN mvn $MVN_ARGS package
    68# remove the war file so we don't copy it in the next stage
    79RUN rm /usr/src/digilib/webapp/target/digilib-webapp-*.war
     
    911# runnable container stage
    1012FROM tomcat:9-jre11 AS runstage
    11 # remove tomcat default webapps
    12 RUN rm -r /usr/local/tomcat/webapps/*
     13# copy entry script
     14COPY build/docker/entrypoint.sh /entrypoint.sh
     15# remove tomcat default webapps and set entrypoint
     16RUN rm -r /usr/local/tomcat/webapps/* \
     17        && chmod 755 /entrypoint.sh
    1318# copy digilib from build image
    1419COPY --from=buildstage /usr/src/digilib/webapp/target/digilib-webapp-* /usr/local/tomcat/webapps/digilib/
     20
     21ENTRYPOINT ["/entrypoint.sh"]
Note: See TracChangeset for help on using the changeset viewer.