-
Notifications
You must be signed in to change notification settings - Fork 93
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
Faster docker build. #1235
Faster docker build. #1235
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Ok to me. Only issue is remembering to update image should directory layout changes. I'm not sure which option I prefer, faster build or simpler maintenance.
Potentially you could have both if nested config and/or the other directories under different parents.Sent from my Galaxy
-------- Original message --------From: "Bruno P. Kinoshita" ***@***.***> Date: 06/11/2021 19:28 (GMT+00:00) To: NatLibFi/Skosmos ***@***.***> Cc: pulquero ***@***.***>, Author ***@***.***> Subject: Re: [NatLibFi/Skosmos] Faster docker build. (PR #1235)
@kinow commented on this pull request.
Looks Ok to me. Only issue is remembering to update image should directory layout changes. I'm not sure which option I prefer, faster build or simpler maintenance.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
|
@pulquero I think I see what you mean. If the source lived in a directory like |
Kudos, SonarCloud Quality Gate passed! |
Here, found a way to get the php packages into their own layer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a great fix @pulquero ! Not approving because I didn't have time to try it out locally, but in principle looks like a great improvement, with little to no difference in maintenance for devs 👏
Moved the config into a layer post "composer install" to speed up build when only changing config.