mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -10:00
24 lines
320 B
Bash
Executable File
24 lines
320 B
Bash
Executable File
#! /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"
|
|
|
|
mkdir -p data
|
|
cp $GAIA_TESTVARS data/gaia_testvars.json
|
|
|
|
docker build -t $TAG .
|
|
rm -f data/gaia_testvars.json
|