forked from henningn/docker-selenium-arm64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildStandaloneFirefox.sh
executable file
·22 lines (20 loc) · 1.76 KB
/
buildStandaloneFirefox.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
echo "\033[1m> docker build ./Base -t selenium/base:$1 -f ./Base/Dockerfile\033[0m"
docker build ./Base -t selenium/base:$1 -f ./Base/Dockerfile
echo "\033[1m> docker build ./NodeBase -t selenium/node-base:$1 -f ./NodeBase/Dockerfile\033[0m"
docker build ./NodeBase -t selenium/node-base:$1 -f ./NodeBase/Dockerfile
echo "\033[1m> docker build ./NodeFirefox -t selenium/node-firefox:$1 -f ./NodeFirefox/Dockerfile\033[0m"
docker build ./NodeFirefox -t selenium/node-firefox:$1 -f ./NodeFirefox/Dockerfile
echo "\033[1m> docker build ./StandaloneFirefox -t henningn/selenium-standalone-firefox:$1-arm -f ./StandaloneFirefox/Dockerfile\033[0m"
docker build ./StandaloneFirefox -t henningn/selenium-standalone-firefox:$1-arm -f ./StandaloneFirefox/Dockerfile
echo "\033[1m> docker push henningn/selenium-standalone-firefox:$1-arm\033[0m"
docker push henningn/selenium-standalone-firefox:$1-arm
echo "\033[1m> docker pull selenium/standalone-firefox:$1\033[0m"
docker pull selenium/standalone-firefox:$1
echo "\033[1m> docker tag selenium/standalone-firefox:$1 henningn/selenium-standalone-firefox:$1-x86\033[0m"
docker tag selenium/standalone-firefox:$1 henningn/selenium-standalone-firefox:$1-x86
echo "\033[1m> docker push henningn/selenium-standalone-firefox:$1-x86\033[0m"
docker push henningn/selenium-standalone-firefox:$1-x86
echo "\033[1m> docker manifest create henningn/selenium-standalone-firefox:$1 henningn/selenium-standalone-firefox:$1-arm henningn/selenium-standalone-firefox:$1-x86\033[0m"
docker manifest create henningn/selenium-standalone-firefox:$1 henningn/selenium-standalone-firefox:$1-arm henningn/selenium-standalone-firefox:$1-x86
echo "\033[1m> docker manifest push henningn/selenium-standalone-firefox:$1\033[0m"
docker manifest push henningn/selenium-standalone-firefox:$1