summaryrefslogtreecommitdiffstats
path: root/docker-files/README.md
blob: 874f34a5d5c2b5a60192d46dde37d19cbd0a2ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Dockerfiles

The Dockerfiles used here are using multi-staged builds.
For building a specific stage locally docker needs to know the target stage with `--target`.

## Examples
For the dev image:
``bash
docker build --target dev -f docker-files/debian.Dockerfile -t glances .
``

For the minimal image:
``bash
docker build --target minimal -f docker-files/debian.Dockerfile -t glances .
``

For the full image:
``bash
docker build --target full -f docker-files/debian.Dockerfile -t glances .
``