# Docker for mapraster

## Installation

To create Docker you need to run:

```bash
make docker-build
```

which is equivalent to:

```bash
make docker-build VERSION=latest
```

You may provide name and version for the image.
Default name is `IMAGE := mapraster`.
Default version is `VERSION := latest`.

```bash
make docker-build IMAGE=some_name VERSION=2025.12.18
```

## Usage

```bash
docker run -it --rm \
   -v $(pwd):/workspace \
   mapraster bash
```

## How to clean up

To uninstall docker image run `make docker-remove` with `VERSION`:

```bash
make docker-remove VERSION=2025.12.18
```

you may also choose the image name

```bash
make docker-remove IMAGE=some_name VERSION=latest
```

If you want to clean all, including `build` and `pycache` run `make cleanup`
