Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Experimenting with using docker-slim to shrink docker images

License

Notifications You must be signed in to change notification settings

cardboardci/slim-docker-with-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimizing Docker Builds

Summary

A GitlabCI repository designed to experiment with potential avenues for minimizing the size of a build image.

Notes

  • Experiment with flags from docker:1.13 for minimizing the process
  • Compress the build-context that is sent to the daemon (compress)
  • Squash the layers using the --squash flag
  • Experiment with the tool docker-slim for shrinking the build image
  • Issues with permissions on the tooling are preventing deployment in Gitlab