dendrite/.github
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
..
ISSUE_TEMPLATE Expand issue template (#2103) 2022-01-21 16:24:31 +00:00
workflows Update Dockerfile (#2342) 2022-10-04 10:41:06 +01:00
CODEOWNERS Set @matrix-org/dendrite-core as repository code owner 2021-12-09 13:29:49 +00:00
FUNDING.yml Create FUNDING.yml 2020-07-15 11:30:32 +01:00
PULL_REQUEST_TEMPLATE.md Add pinecone demo container image (#2710) 2022-09-27 09:39:39 +01:00