-
Notifications
You must be signed in to change notification settings - Fork 161
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
Install requires a lot of space #519
Comments
A config change specific to Frontend should be pretty rare, right? Currently that's just for SSO I believe. I think |
Ah I see, even if you change a config to Backend, Frontend will get rebuilt if you run |
I think so "at rest"? But they'll need more space than maybe expected at some point in time. I'm not entirely sure how big the impact is. |
For FMTM at HOT I bundle ODKCentral into our stack. To do that I have a customised backend Dockerfile based on the one in this repo (service.dockerfile), to optimise the build. Base ImageA good starting point is using the
Efficient LayeringDockerfile directives should be bundled together where possible for more efficient layer caching, for two reasons:
FrontendI also bundle a ContributionWould it be useful for me to make a PR, is someone already working on this? Also, as a separate but related issue, it would be great to have the images built and published to something like Github container registry. Is this something you would consider? The only reason I had to generate my custom Dockerfiles is because there is no official distribution of ODK Container Images. |
I just saw #546 so that answers my questions around providing pre-built images. As for optimising the current dockerfiles to use multi-stage, efficient layer caching, and slim images, the offer is still there! |
Ah yes, I forgot we weren’t on slim images! I don’t remember the details of why not but it’s great to see they may not apply anymore anyway. Please do submit a PR with your ideal setup and let’s take a look at it together. |
Going to close this for now. Using the slim images will help and then the next thing will probably be to use pre-built images. |
Related to getodk/docs#1668, for now we'll document this, but it would be great to improve.
Some drivers I can think of:
The text was updated successfully, but these errors were encountered: