dendrite/build/docker/images-build.sh
2020-10-20 14:32:49 +01:00

12 lines
358 B
Bash
Executable file

#!/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 .