chore: refactor Dockerfiles to reduce the build time#9081
Merged
crenshaw-dev merged 1 commit intoargoproj:masterfrom Apr 13, 2022
adriang-90:devops
Merged
chore: refactor Dockerfiles to reduce the build time#9081crenshaw-dev merged 1 commit intoargoproj:masterfrom adriang-90:devops
crenshaw-dev merged 1 commit intoargoproj:masterfrom
adriang-90:devops
Conversation
Signed-off-by: Adrian <colid.bondzio@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #9081 +/- ##
==========================================
- Coverage 45.48% 45.44% -0.05%
==========================================
Files 217 217
Lines 25655 25655
==========================================
- Hits 11669 11658 -11
- Misses 12357 12371 +14
+ Partials 1629 1626 -3
Continue to review full report at Codecov.
|
Member
crenshaw-dev
left a comment
There was a problem hiding this comment.
One clarifying question. Otherwise lgtm!
wojtekidd
pushed a commit
to wojtekidd/argo-cd
that referenced
this pull request
Apr 25, 2022
Signed-off-by: Adrian <colid.bondzio@gmail.com> Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Checklist:
Summary
I managed to reduce build time by half with those changes. In addition I wanted to make a changes to Dockerfiles that follows the best practices, such as:
yarn cache cleanwhenyarn [install]was run hadolint/hadolint#395--no-install-recommends