ojob.io/docker/squash

Usage

ojob ojob.io/docker/squash image=mycontainer:latest layer=2 tag=final 

Description

Squashs the layers of an existing container images

Expects

Name Description
image The image for which the layers will be squashed
layer Id of the layer until which all previous layers should be kept (defaults to none)
tag The tag for the target image (defaults to "squashed")