doup is a command line tool to find and update Docker-Image-Strings in project files.
Project description
doup
Doup is a command line tool to find and update Docker-Image-Strings in project files.
Why you should consider using doup
The version of docker images should not set to latest
to avoid incompatibility and upgrade nightmares.
But containers should also be upgraded regulary to get new features and fixes of security issues.
So you have to check for each container individually if a new version is published on dockerhub.
doup
can save you a lot of time and is doing this task for you.
Example
Prepare your project for doup
Each Docker-Image-String has to be marked in the previous line:
# doup:bullseye:prod
haproxy_docker_image: haproxy:2.6.2-bullseye
doup
: doup is looking for lines which containsdoup:*
bullseye
: is the container tag on dockerhub which is used to get the newest versionprod
(optional): add this Docker-Image-String to a specific group
QuickSetup
doup
is published on PyPi and can be installed with pip install doup
.
Afterwards you should mark some Docker-Version-Strings in your project and run doup --dry-run
.
Incoming features
- improve the console output and/or add a verbose options which shows the filenames
- alert the user if a new major version of a container was released
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
Built Distribution
File details
Details for the file doup-0.0.16.tar.gz
.
File metadata
- Download URL: doup-0.0.16.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b0cd9eaebbb0f5016cd7700b40711c171136f379dedfb0a979cb6352b2bf33 |
|
MD5 | 4a4693eb1969f8e4466ba90e0dae17ec |
|
BLAKE2b-256 | 1b0d5c76676a29c6b98db5679b18a19e89d196ad265b05cd0f1ae5dae227c0f4 |
Provenance
File details
Details for the file doup-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: doup-0.0.16-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 230db3679349b802c30d0d1124e329686c1f1dced00861eaf2e0312f37842949 |
|
MD5 | c82cb135634046ae09bf44e0706efbf2 |
|
BLAKE2b-256 | 19bb177cce8ae49804fc8bf693815b7f2ed281bc89f1f257cf901ede07cfcce4 |