forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dockerfile] Improve validator-testing image build speed (aptos-labs#…
…5982) Currently, the validator-image is built each time because the previous step invalidates the cache. This increases build time as the bcc tools should be built every single time. This change moves the bcc tools and apt-get install steps into a separate build called validator-testing-base and builds the validator-testing image on top of this image. This however means that we need to duplicate steps from validator image to the validator-testing image, but I think we can accept this tradeoff for reduced build times.
- Loading branch information
1 parent
d08e5aa
commit 1cdfc2b
Showing
1 changed file
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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