Skip to content

Improve container build performance w/ caching#92

Merged
cevich merged 1 commit intocontainers:mainfrom
cevich:build_cache
Sep 28, 2021
Merged

Improve container build performance w/ caching#92
cevich merged 1 commit intocontainers:mainfrom
cevich:build_cache

Conversation

@cevich
Copy link
Member

@cevich cevich commented Sep 27, 2021

A substantial amount of time is spent refreshing packaging metadata and
downloading packages during build. Since consecutive builds from
essentially the same contents does this repeatedly, duplicating all that
work is redundant. This set of changes causes Cirrus-CI to maintain a
cache of packages and metadata for re-use at container build time.

Signed-off-by: Chris Evich cevich@redhat.com

A substantial amount of time is spent refreshing packaging metadata and
downloading packages during build.  Since consecutive builds from
essentially the same contents does this repeatedly, duplicating all that
work is redundant.  This set of changes causes Cirrus-CI to maintain a
cache of packages and metadata for re-use at container build time.

Signed-off-by: Chris Evich <cevich@redhat.com>
@cevich cevich mentioned this pull request Sep 28, 2021
@github-actions
Copy link

Cirrus CI build successful. Image ID c5091401902850048 ready for use.

1 similar comment
@github-actions
Copy link

Cirrus CI build successful. Image ID c5091401902850048 ready for use.

@cevich cevich merged commit 64232de into containers:main Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments