docker-amend
Amend Docker images by running a command in a temporary container.
$ pipx install docker-amend # (plain `pip` works too)
$ docker-amend [OPTIONS] IMAGE[:VERSION] COMMAND...
Description
docker-amend lets you modify an IMAGE by running COMMAND inside a temporary container. You can use it to add dependencies to your project without rebuilding the whole image from ground.
This is basically docker run and docker commit in one go, but easier to use.
Options
-t, --tag NAME[:VERSION]: Use a different name/tag for the resulting image.-v, --volume SOURCE[:TARGET[:MODE]]: Bind mount a volume.--no-cwd-volume: Do not mount current working directory as a volume. [default: False]--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.
Example
Let's say you're making a Python app:
$ docker build -t my-image .
... (some development goes on, then:)
$ 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
Metadata
Release files for docker-amend 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| docker-amend-0.1.2.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docker_amend-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / docker-amend-0.1.2.tar.gz
| Download URL | docker-amend-0.1.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fccbea60a02fae3bdf24700e8238c4c609655b38cf08a1bb4fc78620ca124c4b
|
|
BLAKE2b-256 checksum How to use checksums |
9a6f5d45b2d87455cfe2c5080d790402c2ef9310b494805678b4a8e888a38aec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.9 CPython/3.8.5 Linux/5.4.0-64-generic
|
Release files / docker_amend-0.1.2-py3-none-any.whl
| Download URL | docker_amend-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eda93b23e457149e73fb1805e4a780e4c99f73406d155928c3ce298a8d2651a4
|
|
BLAKE2b-256 checksum How to use checksums |
09f3c1fc7accdf353910307feffd136bac080eb35ea20d62168e540843149c3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.9 CPython/3.8.5 Linux/5.4.0-64-generic
|
Security for docker-amend 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.