|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| alpine.Dockerfile | ||
| debian.Dockerfile | ||
README.md
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 Debian images
For the dev image:
bash docker build --target dev -f ./docker-files/debian.Dockerfile -t glances:dev .
For the minimal image:
bash docker build --target minimal -f ./docker-files/debian.Dockerfile -t glances:minimal .
For the full image:
bash docker build --target full -f ./docker-files/debian.Dockerfile -t glances:full .
Examples for Alpine images
For the dev image:
bash docker build --target dev -f ./docker-files/alpine.Dockerfile -t glances:dev .
For the minimal image:
bash docker build --target minimal -f ./docker-files/alpine.Dockerfile -t glances:minimal .
For the full image:
bash docker build --target full -f ./docker-files/alpine.Dockerfile -t glances:full .