README ¶ copatcher Introduction copatcher is a container patcher written in Go. Prerequisites Go >= 1.18.0 Install curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 sudo install container-diff-linux-amd64 /usr/local/bin/container-diff Run container-diff diff --type=apt --type=node --type=pip --json daemon://image1 daemon://image2 > diff.json version=latest make build ./bin/copatcher --container-diff=diff.json --output-file=Dockerfile Usage usage: copatcher --container-diff=CONTAINER-DIFF --output-file=OUTPUT-FILE [<flags>] Container patcher Flags: --[no-]help Show context-sensitive help (also try --help-long and --help-man). --[no-]version Show application version. --container-diff=CONTAINER-DIFF Container difference (.json) --output-file=OUTPUT-FILE Output file (Dockerfile) Example container-diff diff --type=apt --type=node --type=pip --json daemon://ubuntu:22.04 daemon://ubuntu:23.04 > diff.json copatcher --container-diff=diff.json --output-file=Dockerfile License Project License can be found here. Reference container-diff copacetic dockerfile-generator Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis cmd config differ patcher Click to show internal directories. Click to hide internal directories.