Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Use Docker BuildKit #1723

Closed
wants to merge 1 commit into from
Closed

Use Docker BuildKit #1723

wants to merge 1 commit into from

Conversation

jnnks
Copy link
Contributor

@jnnks jnnks commented Jan 7, 2021

Docker v18.09+ includes a newer back-end for Linux containers called BuildKit. It can be enabled via a simple environment variable.

The simple change comes in with an improvement of 2.6 seconds (3%) for the image build time:

job time command line
master 79.95s docker build --no-cache --tag=anbox/anbox-build .
buildkit 77.35s DOCKER_BUILDKIT=1 docker build --no-cache --tag=anbox/anbox-build .

Collection of build-perfomance experiments: anbox-build-perf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant