glances/docker-files
2021-05-15 15:44:43 +02:00
..
alpine.Dockerfile Add alpine multi-staged build 2021-05-15 15:44:43 +02:00
debian.Dockerfile Install build-essentials instead of just the gcc on debain build images 2021-05-15 15:44:43 +02:00
README.md Migrate the dev image also in the multi-stage build 2021-05-15 14:39:24 +02:00

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 .