mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 08:11:47 -05:00
17 lines
343 B
Bash
Executable file
17 lines
343 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# This script will build and name the Docker environment for building Vanilla.
|
|
|
|
set -e
|
|
|
|
if [ $# -ne 1 ]
|
|
then
|
|
echo "Usage: $0 <architecture>"
|
|
exit 2
|
|
fi
|
|
|
|
echo "Building for architecture: $1"
|
|
TAG_NAME=itsmattkc/vanilla-u-build:$1-latest
|
|
docker build -t $TAG_NAME $(dirname "$0") --build-arg PLATFORM=$1
|
|
|
|
echo "Built to: $TAG_NAME"
|