Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Dockerfile staging and speed improvements #141
Dockerfile staging and speed improvements #141
Changes from 11 commits
ccf5f46
0513bfa
e2d8f74
b6abc35
3ece7bc
e5eda21
0fed0dc
f402840
d45548b
091072f
1344dde
6101c4f
164d396
3ee6d9d
886fea2
cff0654
7650c91
21227bb
01b6e49
834c169
f023479
2a9f908
11ab3c1
c2b7e96
63f93ac
e8981b3
a6fa8d9
90d3f47
a09fa6b
f76f903
0d09b4f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 file looks to be the same as the one on template-infra so i think we can remove it, since it'll be copied over from template-infra when the project installs template-infra
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.
I actually need to tweak the infra version since it has a python specific recast in it, the
certifi
line. Should I remove this file and leave it in infra, or keep it and tweak the infra version?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.
oh i see. so you're suggesting that we move the python specific thing from the infra repo to this repo? that makes sense.
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.
Yeah, as we continue to build in this repo, there will probably be other things we need to recast or safelist that are just for this repo, so I think we should keep the config files here since they'd fix those issues
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.
i'm wondering if we can get rid of this file too since it looks to be the same as on template-infra
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.
As we continue to build in this repo, there will probably be other things we need to recast or safelist that are just for this repo, so I think we should keep the config files here since they'd fix those issues
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.
If there was a performance gain for local docker builds to split up the "COPY dependencies" layer from the "COPY source files layer", should we keep that for the
dev
stage (and add a comment about it)? I think even if it saves a few seconds it could add up over the course of many local builds.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.
There could be a slight performance gain since it would be cached, but we wouldn't be updating the
pyproject
orpoetry
files super often, since we should be usingdependabot
to update these files. I can split it back up, but IDK if it will save much time overall