Created
October 5, 2018 20:33
-
-
Save lotharschulz/e775bc2861ec29eec0bd095e1ce4aa36 to your computer and use it in GitHub Desktop.
Docker base image sizes & push and pull times as of circleCi hellogodocker build 91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╔═════════════════════════════╦════════════════════════════╦═════════════════════════════════════════╦════════════════════════╦════════════╦═══════════════════════╦═══════════════════════════════════╦═════════════════════════════════════╗ | |
║ base image ║ Docker build category ║ command ║ image build (circleCI) ║ image size ║ image size compressed ║ push to Dockerhub (from circleCI) ║ pull from Dockerhub (from circleCI) ║ | |
╠═════════════════════════════╬════════════════════════════╬═════════════════════════════════════════╬════════════════════════╬════════════╬═══════════════════════╬═══════════════════════════════════╬═════════════════════════════════════╣ | |
║ golang:1.11 ║ default ║ docker build ║ 3.025s ║ 783 MB ║ 299 MB ║ 4.618s ║ 21.271s ║ | |
║ golang:1.11 ║ default ║ docker build --rm ║ 0.64s ║ 783 MB ║ 299 MB ║ 4.648s ║ 21.418s ║ | |
║ golang:1.11 ║ cache-from ║ docker build --cache-from golang:1.11 ║ 0.53s ║ 783 MB ║ 299 MB ║ 3.940s ║ 19.039s ║ | |
║ golang:1.11 & alpine:latest ║ builder pattern ║ docker build --rm ║ 0.61s ║ 10.2 MB ║ 5 MB ║ 4.071s ║ 1.274ss ║ | |
║ golang:1.11 & alpine:latest ║ builder pattern cache-from ║ docker build --cache-from golang:1.11 ║ 0.65s ║ 10.2 MB ║ 5 MB ║ 3.902s ║ 1.262s ║ | |
║ golang:1.11 & alpine:latest ║ builder pattern no-cache ║ docker build --no-cache ║ 0.69s ║ 10.2 MB ║ 5 MB ║ 4.605s ║ 1.337s ║ | |
║ golang:1.11 & alpine:latest ║ builder pattern squash ║ docker build --squash ║ 0.68s ║ 10.2 MB ║ 5 MB ║ 4.040s ║ 1.101s ║ | |
║ golang:1.11 & alpine:latest ║ builder pattern compress ║ docker build --compress ║ 1.14s ║ 10.2 MB ║ 5 MB ║ 4.921s ║ 1.435s ║ | |
║ alpine:latest ║ default ║ docker build --rm ║ 0.67s ║ 11.1 MB ║ 5 MB ║ 3.803s ║ 1.244s ║ | |
║ alpine:latest ║ cache-from ║ docker build --cache-from alpine:latest ║ 0.63s ║ 11.1 MB ║ 5 MB ║ 3.788s ║ 1.180s ║ | |
║ alpine:latest ║ no-cache ║ docker build --no-cache ║ 0.58s ║ 11.1 MB ║ 5 MB ║ 4.602s ║ 1.199s ║ | |
║ alpine:latest ║ squash ║ docker build --squash ║ 0.58s ║ 11.1 MB ║ 5 MB ║ 4.534s ║ 1.142s ║ | |
║ alpine:latest ║ compress ║ docker build --compress ║ 1.15s ║ 11.1 MB ║ 5 MB ║ 3.630s ║ 1.163s ║ | |
║ scratch ║ default ║ docker build --rm ║ 16.01s ║ 4.8 MB ║ 2 MB ║ 3.950s ║ 0.791s ║ | |
║ scratch ║ no-cache ║ docker build --no-cache ║ 16.38s ║ 4.8 MB ║ 2 MB ║ 3.774s ║ 0.806s ║ | |
║ scratch ║ squash ║ docker build --squash ║ 16.46s ║ 4.8 MB ║ 2 MB ║ 3.500s ║ 0.739s ║ | |
║ scratch ║ compress ║ docker build --compress ║ 16.83s ║ 4.8 MB ║ 2 MB ║ 3.973s ║ 0.781s ║ | |
╚═════════════════════════════╩════════════════════════════╩═════════════════════════════════════════╩════════════════════════╩════════════╩═══════════════════════╩═══════════════════════════════════╩═════════════════════════════════════╝ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
used in https://medium.com/@lotharsch87/build-a-minimal-docker-image-4722deae9d86