Build monolith images

This commit is contained in:
Neil Alexander 2020-06-05 17:26:56 +01:00
parent edba736998
commit 48995b2b74
3 changed files with 5 additions and 1 deletions

View file

@ -5,7 +5,7 @@ services:
image: postgres:9.5 image: postgres:9.5
restart: always restart: always
volumes: 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: environment:
POSTGRES_PASSWORD: itsasecret POSTGRES_PASSWORD: itsasecret
POSTGRES_USER: dendrite POSTGRES_USER: dendrite

View file

@ -4,6 +4,8 @@ cd $(git rev-parse --show-toplevel)
docker build -f build/docker/hub/Dockerfile -t matrixdotorg/dendrite:latest . 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: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: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 . docker build -t matrixdotorg/dendrite:eduserver --build-arg component=dendrite-edu-server -f build/docker/hub/Dockerfile.component .

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
docker push matrixdotorg/dendrite:monolith
docker push matrixdotorg/dendrite:clientapi docker push matrixdotorg/dendrite:clientapi
docker push matrixdotorg/dendrite:clientproxy docker push matrixdotorg/dendrite:clientproxy
docker push matrixdotorg/dendrite:eduserver docker push matrixdotorg/dendrite:eduserver