Skip to content

cspotcode/flatten-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script to flatten a docker image into a single layer, preserving metadata like env vars and entrypoint.

Usage:

# One-off invocation
# -y suppresses confirmation prompt
npx -y cspotcode/flatten-docker-image --help
npx -y cspotcode/flatten-docker-image <image tag or ID>

# To install globally
npm install -g cspotcode/flatten-docker-image
flatten-docker-image <image tag or ID>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published