2020-05-21 13:02:28 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
|
2020-10-20 11:34:22 +01:00
|
|
|
TAG=${1:-latest}
|
2020-05-21 13:02:28 +01:00
|
|
|
|
2020-10-20 11:34:22 +01:00
|
|
|
echo "Building tag '${TAG}'"
|
2020-06-05 19:00:30 +01:00
|
|
|
|
2020-10-20 11:34:22 +01:00
|
|
|
docker build -f build/docker/Dockerfile -t matrixdotorg/dendrite:${TAG} .
|
|
|
|
|
|
|
|
docker build -t matrixdotorg/dendrite-monolith:${TAG} --build-arg component=dendrite-monolith-server -f build/docker/Dockerfile.component .
|
|
|
|
|
|
|
|
docker build -t matrixdotorg/dendrite-appservice:${TAG} --build-arg component=dendrite-appservice-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-clientapi:${TAG} --build-arg component=dendrite-client-api-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-eduserver:${TAG} --build-arg component=dendrite-edu-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-federationapi:${TAG} --build-arg component=dendrite-federation-api-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-federationsender:${TAG} --build-arg component=dendrite-federation-sender-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-keyserver:${TAG} --build-arg component=dendrite-key-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-mediaapi:${TAG} --build-arg component=dendrite-media-api-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-roomserver:${TAG} --build-arg component=dendrite-room-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-syncapi:${TAG} --build-arg component=dendrite-sync-api-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-signingkeyserver:${TAG} --build-arg component=dendrite-signing-key-server -f build/docker/Dockerfile.component .
|
|
|
|
docker build -t matrixdotorg/dendrite-userapi:${TAG} --build-arg component=dendrite-user-api-server -f build/docker/Dockerfile.component .
|