Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable a docker plugin for build time image creation (#27) #62

Merged
merged 3 commits into from
Jan 18, 2018

Conversation

johnament
Copy link
Contributor

Short description of what this resolves:

Adds gradle commands to create a docker image during the build, based on build output instead.

Changes proposed in this pull request:

  • Copy the existing Dockerfile into the root, removing the download part and replacing it with the locally built artifact.
  • Leverage a gradle plugin to generate the docker image
  • Allow the actual image to be configured via property, to allow users to push to private registries

Fixes: #27

rm -rf /var/cache/apk/*

# Install MySQL Connector
WORKDIR /opt/holdmail/lib
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied the existing Dockerfile into the root. I'm undecided if we still need the existing docker setup, its good because it includes a docker-compose file, but that may not be long for this earth in favor of k8s.

@@ -17,5 +17,4 @@
################################################################################


version=1.0.5-SNAPSHOT

version=2.0.0-SNAPSHOT
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just an arbitrary change, since the next release will be 2.0.

@johnament johnament merged commit bde6e8a into master Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants