runner icon indicating copy to clipboard operation
runner copied to clipboard

Docker image size reduction

Open ccosby opened this issue 1 year ago • 0 comments

  • Install ppa:git-core/ppa in build stage, copy apt lists and gpg keys to main stage
  • Copy docker client and plugins from upstream docker:cli image
  • Perform more thorough cleanup of apt lists and cache

This reduces the overall on-disk image size by ~348MB (amd64) and the download size by ~146MB. For those of us who use runners in containers/k8s, the network traffic is reduced by a considerable 29%.

ccosby avatar Jun 06 '24 19:06 ccosby