An open API service indexing awesome lists of open source software.

https://github.com/vagmcs/poetry-docker-plugin

Poetry plugin for creating docker images. 🏗
https://github.com/vagmcs/poetry-docker-plugin

docker packaging poetry python

Last synced: 7 days ago
JSON representation

Poetry plugin for creating docker images. 🏗

Awesome Lists containing this project

README

          

# Poetry Docker Plugin


Test


pre-commit.ci status






[Poetry](https://python-poetry.org) docker plugin is an extension for configuring and building docker images directly from the comfort of your `pyproject.toml` configuration.

The key features are:

* Easy and similar to Dockerfile syntax support.
* Easily generate dockerfiles, build them and push them to any registry.
* Multiple docker image support. You can declare and build multiple images from a single project.
* Supports configuration variables on image declaration that can be set at runtime.
* Multi-platform build support.

---

**Documentation**: https://vagmcs.github.io/poetry-docker-plugin

---

## Installation

In order to install the plugin you need to have installed a poetry version `>=2.0.0` and type:

```bash
poetry self add poetry-docker-plugin
```

or add the following to your `pyproject.toml`:

```toml
[tool.poetry.requires-plugins]
poetry-docker-plugin = ">=0.x.x"
```

## License

This project is licensed under the terms of the MIT license.