dendrite/cmd
Till e6c992ba8b
Update Dockerfile (#2342)
Updates/adds a new multistage (build-kit) Dockerfile. (if accepted,
could make `Dockerfile.monolith` and `Dockerfile.polylith` in
`build/docker` obsolete)
There's no huge difference between the dockerfiles, except this uses a
non-root user when running the container, also doesn't copy the working
directory to the image when building.
Also adds vulnerabilities scans using
[Trivy](https://github.com/aquasecurity/trivy) for the created docker
images. (untested)

Building images is done using 
```
docker build . --target image-monolith -t dendrite-monolith
docker build . --target image-polylith -t dendrite-polylith
```

As noted in the comments, only adds `dendrite-polylith-multi` to the
polylith image and all required binaries to the monolith image.
Probably needs some docs updating, if this is accepted.

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-10-04 10:41:06 +01:00
..
create-account Use non-HTTPS as default URL, as most people will be running behind a 2022-10-02 11:31:40 +02:00
dendrite-demo-pinecone Update P2P base directories 2022-10-03 13:05:58 +01:00
dendrite-demo-yggdrasil Update P2P base directories 2022-10-03 13:05:58 +01:00
dendrite-monolith-server Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
dendrite-polylith-multi Add PolylithMode base config option (#2428) 2022-05-06 13:51:48 +01:00
dendrite-upgrade-tests Hopefully fix upgrade-tests (#2717) 2022-09-15 07:26:26 +02:00
furl Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
generate-config Update search docs 2022-09-27 17:10:47 +01:00
generate-keys Complement QoL changes (#2663) 2022-08-23 13:10:29 +02:00
resolve-state Optimise resolve-state tool 2022-09-05 14:17:04 +01:00