2020-05-21 12:02:28 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
|
2020-10-20 10:34:22 +00:00
|
|
|
TAG=${1:-latest}
|
2020-05-21 12:02:28 +00:00
|
|
|
|
2020-10-20 10:34:22 +00:00
|
|
|
echo "Building tag '${TAG}'"
|
2020-06-05 18:00:30 +00:00
|
|
|
|
2020-10-20 10:34:22 +00:00
|
|
|
docker build -f build/docker/Dockerfile -t matrixdotorg/dendrite:${TAG} .
|
|
|
|
|
2020-10-20 15:11:24 +00:00
|
|
|
docker build -t matrixdotorg/dendrite-monolith:${TAG} -f build/docker/Dockerfile.monolith .
|
|
|
|
docker build -t matrixdotorg/dendrite-polylith:${TAG} -f build/docker/Dockerfile.polylith .
|