Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

bcicen/dsplice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dsplice

Docker image merge utility

NOTE: Combining images from multiple sources (and especially from multiple base images) isn't the best practice. Or even an accepted practice. Regardless, it can be useful in some scenarios. I hold no responsibility for the broken abominations you may create with this tool.

Installation

pip install dsplice

Usage

dsplice -t newimage:latest image-to-merge1:latest image-to-merge2:latest

dsplice will automatically resolve any file conflicts between the two images by using the most recently modified version of a file. You can prevent this behavior with the -i interactive mode option.

Options

Option Description
-h show help message and exit
-i Interactive mode. Prompt for user selection on any file conflicts
-t image_tag Optional tag for created image
-s Skip importing of image and create container archive(tar) in current directory

About

Docker image merge tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages