Skip to content

arcosx/image-build-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-build-benchmark CI

Testing the speed and size of container image builds.

Usage

Only see the result

Look at this summary !

for your own images

fork this project, modify .github/workflows/main.yml.Of course you can also run it locally.

$ ./build.sh ${DOCKER_FILE_DIR} ${OUTPUT_CSV_PATH} ${RUN_TIMES} ${DIND_IMAGE} ${BUILDER}

# examples:

./build.sh dockerfiles/pytorchcuda out.csv 2 docker:18.09-dind buildkit

./build.sh dockerfiles/pytorchcuda out.csv 2 docker:20.10-dind docker

Support Build Engine

  • docker:18.09-dind (Sep 5,2019)
  • docker:19.03-dind (Aug 6,2021)
  • docker:20.10-dind (Jun 8,2022)
  • buildkit:latest (Now)

Test Dockerfiles

Thanks

Core code and processes from https://github.com/AkihiroSuda/buildbench

Many thanks @AkihiroSuda

This code also follows the Apache-2.0 license.

About

Testing the speed and size of container image builds.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published