A tool to parse rockerc.yaml files and pass on the arguments onto rocker
Project description
rockerc
Continuous Integration Status
Installation
Recommended Method:
Install uv and then install it as a globally available tool on your system
uv tool install rockerc
Deprecated Method:
Globally install via pip, but this is not really recommended
pip install rockerc
Usage
#searches for rockerc.yaml and passes those arguments to rocker
rockerc
Motivation
Rocker is an alternative to docker-compose that makes it easier to run containers with access to features of the local environment and add extra capabilities to existing docker images. However rocker has many configurable options and it can get hard to read or reuse those arguments. This is a naive wrapper that read a rockerc.yaml file and passes them to rocker. There are currently no plans to integrate docker-compose like functionalty directly into rocker so I made this as a proof of concept to see what the ergonomics of it would be like.
Caveats
I'm not sure this is the best way of implementing rockerc like functionality. It might be better to implmented it as a rocker extension, or in rocker itself. This was just the simplest way to get started. I may explore those other options in more detail in the future.
rocker.yaml configuration
You need to pass either a docker image, or a relative path to a dockerfile
rockerc.yaml
image: ubuntu:22.04
or
dockerfile: Dockerfile
will look for the dockerfile relative to the rockerc.yaml file
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rockerc-0.7.0.tar.gz.
File metadata
- Download URL: rockerc-0.7.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46238d805b4f61aa14851ab9df003c08c38c4854b23db4e437964a22d15503c5
|
|
| MD5 |
a9feb08ad78fdb6cdbba316aef0f7ea5
|
|
| BLAKE2b-256 |
1b19e92949afc4fcca07ce73fea045ed715eacf182adf6cf07fbcda5b8002f3b
|
File details
Details for the file rockerc-0.7.0-py2.py3-none-any.whl.
File metadata
- Download URL: rockerc-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aa448faff505d64c5627fa9ca763f08906c328cbd1e25f23f72d1c2d5edd6ed
|
|
| MD5 |
b19d6335513916697505531c185c4e8d
|
|
| BLAKE2b-256 |
b8e1a0b9de1ba3c0c562b4a415bf180b7bfed8420446792c66d004c276b8263b
|