-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Docker build for FlowAggregator image (#6388)
We have made some improvements to the "main" Antrea Docker images (Agent, Controller) in the past, which can also benefit the FlowAggregator image: * use Docker cache mounts to accelerate builds * improve layer sharing between images by building antctl first * install apt packages first in the final image (before copying binaries over from the intermediate build image); this improves caching and build parallelism. Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
- Loading branch information
1 parent
50cfb7a
commit baea218
Showing
2 changed files
with
27 additions
and
10 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
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