glances/docker-files
nicolargo 9cc10fd33d Use glances.conf file inside docker-compose folder for Docker images 2022-05-24 11:57:06 +02:00
..
README.md Use glances.conf file inside docker-compose folder for Docker images 2022-05-24 11:57:06 +02:00
alpine.Dockerfile Use glances.conf file inside docker-compose folder for Docker images 2022-05-24 11:57:06 +02:00
debian.Dockerfile Use glances.conf file inside docker-compose folder for Docker images 2022-05-24 11:57:06 +02:00

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 .