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

Simplify docker build. Just docker build . #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infogulch
Copy link

@infogulch infogulch commented May 5, 2020

Some differences:

  • No dependencies besides docker required, including java, maven, etc. (Nice for CI)
  • Use docker layer cache to avoid downloading dependencies every build (Nice for rebuilding locally multiple times)
  • Redownload all dependencies based on when pom.xml is changed (This is a bit of a compromise, but I hope not a big deal since pom.xml doesn't change very often)

Also substitute deprecated "MAINTAINER" step in favor of "LABEL".

Flattened the docker directory into the repo root since it isn't being used the same way anymore.

Also simplified the Makefile since it doesn't have to do as much.


The docker build itself seems to complete without issue, but that's obviously not the same as testing it live. So I'm not sure if the resulting image works the same. If I determine that I will post with my results.

I'm very open to feedback and would be happy to discuss my motivations for these changes and make adjustments to better fit the desired direction of the project. Thank you for zkui!

Some differences:
* No dependencies besides docker required, including java, maven, etc. (Nice for CI)
* Use docker layer cache to avoid downloading dependencies every build
* Redownload all dependencies based on when pom.xml is changed

Also substitute deprecated "MAINTAINER" step in favor of "LABEL".
@infogulch infogulch marked this pull request as ready for review May 5, 2020 23:19
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.

1 participant