Amend Docker images by running a command in a separate layer.
Project description
docker-amend
Install: pipx install docker-amend
(plain pip
works too)
Usage: docker-amend [OPTIONS] IMAGE COMMAND...
Example:
$ docker build -t my-image .
...
$ docker-amend my-image poetry add requests
$ docker run my-image poetry show
requests 2.23.0 Python HTTP for Humans.
$ grep requests pyproject.toml
requests = ^2.23.0
Options:
-t, --tag NAME[:VERSION]
: Use a different name/tag for the resulting image-v, --volume SOURCE:TARGET
: Bind mount a volume (assumes --no-pwd-volume)--no-cwd-volume
: Do not mount cwd as a volume--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docker-amend-0.1.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for docker_amend-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b32a9e8f7c5da4e5d15012d7218dd1012937384b3223e9ad6aacdab8ac1c99e |
|
MD5 | 94bcbef46b20905d2710bb8a42669989 |
|
BLAKE2b-256 | c51545edca4b92315b3150b2fcf9cd136bb783aafdfa057f55d4e2c00f1169de |