diff options
author | Markus Pöschl <Poeschl@users.noreply.github.com> | 2021-05-14 13:42:53 +0200 |
---|---|---|
committer | Markus Pöschl <Poeschl@users.noreply.github.com> | 2021-05-15 14:39:24 +0200 |
commit | 281382c030110c42841dbd84f5ebbd6616f17cf3 (patch) | |
tree | b3194eaf4b72a8d443ea5fc4c09daa088f37dfe9 /docker-files/README.md | |
parent | 781c9961cb26da0821f6fc460e1fc1640cb5f8ec (diff) |
Migrate the dev image also in the multi-stage build
Diffstat (limited to 'docker-files/README.md')
-rw-r--r-- | docker-files/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docker-files/README.md b/docker-files/README.md new file mode 100644 index 00000000..874f34a5 --- /dev/null +++ b/docker-files/README.md @@ -0,0 +1,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 . +`` |