Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (10 sloc) 237 Bytes
set -e
container='graphqlperl/sample-openapi'
prereq=${container}-prereq
if [ "$1" = 'prereq' ]; then
docker build -f Dockerfile.prereq -t $prereq .
docker push $prereq
else
docker build -t $container .
docker push $container
fi