2022-09-27 10:42:08 +02:00
|
|
|
#!/usr/bin/env bash
|
2020-05-21 14:02:28 +02:00
|
|
|
|
|
|
|
cd $(git rev-parse --show-toplevel)
|
|
|
|
|
2020-10-20 12:34:22 +02:00
|
|
|
TAG=${1:-latest}
|
2020-05-21 14:02:28 +02:00
|
|
|
|
2020-10-20 12:34:22 +02:00
|
|
|
echo "Building tag '${TAG}'"
|
2020-06-05 20:00:30 +02:00
|
|
|
|
2020-10-20 17:11:24 +02: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 .
|