Build: #836 was successful Scheduled with changes by Dan Caseley <dan@caseley.me.uk> and daryl herzmann <akrherz@iastate.edu>

Code commits

Openfire (master)

  • daryl herzmann <akrherz@iastate.edu>

    daryl herzmann <akrherz@iastate.edu> e633cc4fca023ca4bd95625aa4b2bd9140028a92

    Merge pull request #1797 from Fishbowler/docker_improvements
    Remove multi-stage Docker build, add separate dockerised maven build

  • Dan Caseley <dan@caseley.me.uk>

    Dan Caseley <dan@caseley.me.uk> 06367828b69f44b53b52e8d1a2b8607cbc42226b

    Improve caching, reduce image size

    • Dockerfile (version 06367828b69f44b53b52e8d1a2b8607cbc42226b)
  • Dan Caseley <dan@caseley.me.uk>

    Dan Caseley <dan@caseley.me.uk> 3d8b9766336e2b162b1c95631aae91bb98e57321

    Prevent entrypoint from overwriting existing plugins on reboot

    • build/docker/entrypoint.sh (version 3d8b9766336e2b162b1c95631aae91bb98e57321)
  • Dan Caseley <dan@caseley.me.uk>

    Dan Caseley <dan@caseley.me.uk> bc0a697e6674b0e929c05e92b34840e076373c01

    Remove multi-stage build, split to a separate script
    The high number of deps means that any invalidation of cache makes for a very long build time. Fixed this by moving the build to a docker *run* of the official maven image, with a volume mapping the m2 cache of the host.

    • .dockerignore (version bc0a697e6674b0e929c05e92b34840e076373c01)
    • Dockerfile (version bc0a697e6674b0e929c05e92b34840e076373c01)
    • build/docker/buildWithDocker.sh (version bc0a697e6674b0e929c05e92b34840e076373c01)
  • Dan Caseley <dan@caseley.me.uk>

    Dan Caseley <dan@caseley.me.uk> 32539206eef618a15a23b892503b1bcb67a32069

    Add optional test skipping to Docker build

    • build/docker/buildWithDocker.sh (version 32539206eef618a15a23b892503b1bcb67a32069)
  • Dan Caseley <dan@caseley.me.uk>

    Dan Caseley <dan@caseley.me.uk> 1586d9b1ea3a9347b8b39a20d7d04484a900f770

    Call openfire.sh from entrypoint, deduplicating a little logic
    This then allows for `docker run openfire:latest -demoboot`

    • build/docker/entrypoint.sh (version 1586d9b1ea3a9347b8b39a20d7d04484a900f770)
  • Dan Caseley <dan@caseley.me.uk>

    Dan Caseley <dan@caseley.me.uk> 0dd9c1701586c7dc18d753868384d0a87ac03714

    Add plugins by volume to /opt/plugins

    • build/docker/entrypoint.sh (version 0dd9c1701586c7dc18d753868384d0a87ac03714)