Metadata-Version: 2.1
Name: mdocker
Version: 0.1.0
Summary: A wrapper for multiplatform Docker image builds
Author: seppzer0
Author-email: seppzerr0@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: argparse (>=1.4.0,<2.0.0)
Description-Content-Type: text/markdown

# mdocker — multiplatform Docker image builder

## Description

**mdocker** is a simple wrapper over Docker Buildx, which can be used for easy image building targeted for various platforms.

## Usage

mdocker takes some of the arguments used standard Docker Buildx argument list.

```help
$ python3 -m mdocker --help
usage: __main__.py [-h] [--context CONTEXT] [--file DOCKERFILE] [--platform PLATFORM] [--upload] [--clean]
                   name

positional arguments:
  name                  select a name for the image

optional arguments:
  -h, --help            show this help message and exit
  --context CONTEXT     define path to build context
  --file FILE           define path to Dockerfile
  --platform PLATFORM   select platforms to build Docker image for (e.g., --platform linux/amd64,linux/arm64)
  --upload              upload image to remote registry
  --clean               clean cache after the build
```

## Local installation from sources

To install and debug mdocker locally, in the root of repository use:

```sh
python3 -m pip install -e .
```

## See also

- [TODO List](TODO.md)

