Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

toknapp/strace-based-docker-minimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An strace-based Docker minimizer

CircleCI

How it works

This minimizer works in two phases:

  1. collect which files are actually being used by the application by tracing all file-related syscalls using strace
  2. squash layers and filter out unused files using the white-list created by the first phase.