mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 12:52:24 +03:00

This should significantly speedup building the pinecone and yggdrasil demos, as they now reuse the new `dendrite:buildcache`, which already builds all binaries.
14 lines
No EOL
459 B
Bash
Executable file
14 lines
No EOL
459 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
TAG=${1:-latest}
|
|
|
|
echo "Building tag '${TAG}'"
|
|
|
|
docker build -t ghcr.io/element-hq/dendrite:buildcache --target build .
|
|
|
|
docker build -t ghcr.io/element-hq/dendrite-monolith:${TAG} .
|
|
|
|
docker build -t ghcr.io/element-hq/dendrite-demo-yggdrasil:${TAG} -f build/docker/Dockerfile.demo-yggdrasil .
|
|
docker build -t ghcr.io/element-hq/dendrite-demo-pinecone:${TAG} -f build/docker/Dockerfile.demo-pinecone . |