From 48995b2b746e8db807eddef5c063faa0cef5ebd2 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 5 Jun 2020 17:26:56 +0100 Subject: [PATCH] Build monolith images --- build/docker/docker-compose.deps.yml | 2 +- build/docker/images-build.sh | 2 ++ build/docker/images-push.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build/docker/docker-compose.deps.yml b/build/docker/docker-compose.deps.yml index ada625aa3..facfc01b3 100644 --- a/build/docker/docker-compose.deps.yml +++ b/build/docker/docker-compose.deps.yml @@ -5,7 +5,7 @@ services: image: postgres:9.5 restart: always volumes: - - ../postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh + - ./postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh environment: POSTGRES_PASSWORD: itsasecret POSTGRES_USER: dendrite diff --git a/build/docker/images-build.sh b/build/docker/images-build.sh index b162a0639..e76336477 100755 --- a/build/docker/images-build.sh +++ b/build/docker/images-build.sh @@ -4,6 +4,8 @@ cd $(git rev-parse --show-toplevel) docker build -f build/docker/hub/Dockerfile -t matrixdotorg/dendrite:latest . +docker build -t matrixdotorg/dendrite:monolith --build-arg component=dendrite-monolith-server -f build/docker/hub/Dockerfile.component . + docker build -t matrixdotorg/dendrite:clientapi --build-arg component=dendrite-client-api-server -f build/docker/hub/Dockerfile.component . docker build -t matrixdotorg/dendrite:clientproxy --build-arg component=client-api-proxy -f build/docker/hub/Dockerfile.component . docker build -t matrixdotorg/dendrite:eduserver --build-arg component=dendrite-edu-server -f build/docker/hub/Dockerfile.component . diff --git a/build/docker/images-push.sh b/build/docker/images-push.sh index c62072687..b39d98d65 100755 --- a/build/docker/images-push.sh +++ b/build/docker/images-push.sh @@ -1,5 +1,7 @@ #!/bin/bash +docker push matrixdotorg/dendrite:monolith + docker push matrixdotorg/dendrite:clientapi docker push matrixdotorg/dendrite:clientproxy docker push matrixdotorg/dendrite:eduserver