aboutsummaryrefslogtreecommitdiff
path: root/build/docker/images-build.sh
blob: f80f6bed27bedb99e3e3acaa6cc8176376d8c3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

cd $(git rev-parse --show-toplevel)

TAG=${1:-latest}

echo "Building tag '${TAG}'"

docker build -f build/docker/Dockerfile -t matrixdotorg/dendrite:${TAG} .

docker build -t matrixdotorg/dendrite-monolith:${TAG}  -f build/docker/Dockerfile.monolith .
docker build -t matrixdotorg/dendrite-polylith:${TAG}  -f build/docker/Dockerfile.polylith .