An open API service indexing awesome lists of open source software.

https://github.com/runnable/flattendockerimages

This is a node.js module that flattens docker images
https://github.com/runnable/flattendockerimages

Last synced: 2 months ago
JSON representation

This is a node.js module that flattens docker images

Awesome Lists containing this project

README

          

flattenDockerImages
===================

This is a node.js module that flattens docker images

**How does it work?**
- Goes through the docker history figures out the absolute layer paths
- cp's those layer paths in correct order into a folder
- deletes all whiteouts per layer copy
- compresses that folder
- builds an image from a docker file that adds that compressed folder