Docker builds should not include locally built resources

Description

If building Openfire locally into a Docker image, the build context is the entire workspace. This means that if an old build exists locally, it'll be copied into the Docker image and be there when mvn package runs, giving unpredictable results.

 

Improve the .dockerignore to exclude target directories and anything else that appears useless.

Environment

None

Acceptance Test - Entry

None
Fixed

Assignee

Dan Caseley

Reporter

Dan Caseley

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Minor
Configure