Skip to content

Reuse prebuilt base image in build-container.sh when available#37177

Merged
arnej27959 merged 1 commit into
masterfrom
arnej/use-prebuilt-base-image
Jun 11, 2026
Merged

Reuse prebuilt base image in build-container.sh when available#37177
arnej27959 merged 1 commit into
masterfrom
arnej/use-prebuilt-base-image

Conversation

@arnej27959

Copy link
Copy Markdown
Member

The container build previously always built the Vespa base layer from scratch on every run. When a PREBUILT_BASE_IMAGE is provided, point the build at "<PREBUILT_BASE_IMAGE>:<VESPA_BUILDOS_LABEL>" instead and build only the final "vespa" target (--target vespa), skipping the expensive base-image build. This skips downloading many 3rdparty packages. The same image is also used as the system-test base image.

The container build previously always built the Vespa base layer from
scratch on every run. When a PREBUILT_BASE_IMAGE is provided, point the
build at "<PREBUILT_BASE_IMAGE>:<VESPA_BUILDOS_LABEL>" instead and build
only the final "vespa" target (--target vespa), skipping the expensive
base-image build. This skips downloading many 3rdparty packages.
The same image is also used as the system-test base image.
@arnej27959 arnej27959 requested review from esolitos and toregge June 11, 2026 09:11
@arnej27959 arnej27959 merged commit df664af into master Jun 11, 2026
3 of 4 checks passed
@arnej27959 arnej27959 deleted the arnej/use-prebuilt-base-image branch June 11, 2026 09:52
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.

2 participants