Update README.md

This commit is contained in:
Neil Alexander 2020-06-05 17:44:54 +01:00
parent 77952daaca
commit 3d5f8b8375

View file

@ -1,13 +1,14 @@
# Docker Hub images # Docker images
These are Docker Hub-friendly images for Dendrite. These are Docker images for Dendrite!
## Dockerfiles ## Dockerfiles
The `Dockerfile` builds the base image which contains all of the Dendrite The `Dockerfile` builds the base image which contains all of the Dendrite
components. The `Dockerfile.*` files take components from the base image and components. The `Dockerfile.component` file takes the given component, as
produce smaller component-specific images, which are substantially smaller specified with `--buildarg component=` from the base image and produce
and do not contain the Go toolchain etc. smaller component-specific images, which are substantially smaller and do
not contain the Go toolchain etc.
## Compose files ## Compose files
@ -59,7 +60,8 @@ docker-compose -f docker-compose.polylith.yml up
## Building the images ## Building the images
The `docker/images-build.sh` script will build all of the component images. The `docker/images-build.sh` script will build the base image, followed by
all of the component images.
The `docker/images-push.sh` script will push them to Docker Hub (subject The `docker/images-push.sh` script will push them to Docker Hub (subject
to permissions). to permissions).