forked from hacky-1998/fxa-self-hosting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
31 lines (23 loc) · 1.32 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
echo Pulling Docker base images
# For fxa-auth-db-mysql,fxa-auth-server,fxa-content-server,fxa-oauth-server,fxa-profile-server:
docker pull node:0.10-slim
docker build -t vladikoff/fxa-slim-image https://github.com/vladikoff/fxa-slim-image.git
# For browserid-verifier:
docker pull node:4.2.4
# For syncserver:
docker pull debian:7.4
# For syncserver:
docker pull python:2.7
# For fxa-self-hosting:
docker pull nginx
echo Building images...
docker build -f ./docs/self-host.docker -t fxa-content-server https://github.com/mozilla/fxa-content-server.git
docker build -f ./docs/self-host.docker -t fxa-auth-server https://github.com/mozilla/fxa-auth-server.git
docker build -f ./docs/self-host.docker -t fxa-auth-db-mysql https://github.com/mozilla/fxa-auth-db-mysql.git
docker build -f ./docs/self-host.docker -t fxa-oauth-server https://github.com/mozilla/fxa-oauth-server.git
docker build -t browserid-verifier https://github.com/mozilla/browserid-verifier.git#docker-improvements
docker build -f ./docs/self-host.docker -t fxa-profile-server https://github.com/mozilla/fxa-profile-server.git
docker build -t syncserver https://github.com/mozilla-services/syncserver.git
docker build -t syncto https://github.com/mozilla-services/syncto.git
docker build -t fxa-self-hosting https://github.com/michielbdejong/fxa-self-hosting.git