12 lines
358 B
Bash
Executable File
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 . |