mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-29 16:29:39 +00:00
23 lines
306 B
Bash
23 lines
306 B
Bash
|
#! /bin/bash -ve
|
||
|
|
||
|
while getopts "t:g:" arg; do
|
||
|
case $arg in
|
||
|
t)
|
||
|
TAG=$OPTARG
|
||
|
;;
|
||
|
g)
|
||
|
GAIA_TESTVARS=$OPTARG
|
||
|
;;
|
||
|
esac
|
||
|
done
|
||
|
|
||
|
pushd $(dirname $0)
|
||
|
|
||
|
test $TAG
|
||
|
test -f "$GAIA_TESTVARS"
|
||
|
|
||
|
cp $GAIA_TESTVARS data/gaia_testvars.json
|
||
|
|
||
|
docker build -t $TAG .
|
||
|
rm -f data/gaia_testvars.json
|