diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-04-18 13:51:18 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-04-18 13:56:50 +0000 |
commit | d560060e4c4208b0d2db023ed7c6a5e20af2c730 (patch) | |
tree | cdcd921867fc06620a8defefb8e92e63785b5ed6 /recipes-containers/docker-compose/docker-compose_git.bb | |
parent | 050030c8d68194b27c3245af792b553ac6ea6b6d (diff) | |
download | meta-virtualization-d560060e4c4208b0d2db023ed7c6a5e20af2c730.tar.gz |
docker-compose: limit the amount of data copied
The AWS dependency includes a VERY large set of directories, which
are over 9G in size.
To avoid some of this data movement, we suggest shallow clones and
update our vendor rsync to exclude directories over 500M. This
drastically speeds up the copy and overall build time.
More investigation needs to be done, and perhaps a switch away from
git clones for this recipe as the data over the network during fetch
is still an issue.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker-compose/docker-compose_git.bb')
-rw-r--r-- | recipes-containers/docker-compose/docker-compose_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb index e48ee9af..91ceb011 100644 --- a/recipes-containers/docker-compose/docker-compose_git.bb +++ b/recipes-containers/docker-compose/docker-compose_git.bb | |||
@@ -78,3 +78,7 @@ FILES:${PN} += " ${nonarch_libdir}/docker/cli-plugins/" | |||
78 | 78 | ||
79 | INHIBIT_PACKAGE_STRIP = "1" | 79 | INHIBIT_PACKAGE_STRIP = "1" |
80 | INSANE_SKIP:${PN} += "ldflags already-stripped" | 80 | INSANE_SKIP:${PN} += "ldflags already-stripped" |
81 | |||
82 | # the AWS dependency is 8GB, try and control the | ||
83 | # size of the clones | ||
84 | BB_GIT_SHALLOW = "1" \ No newline at end of file | ||