mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-10 04:37:23 +01:00
13 lines
202 B
Bash
13 lines
202 B
Bash
|
#!/bin/bash
|
||
|
set -eo pipefail
|
||
|
|
||
|
if [ -z "$1" ] ; then
|
||
|
echo "Usage: ./build.sh \$VERSION"
|
||
|
else
|
||
|
VERSION="$1"
|
||
|
fi
|
||
|
|
||
|
cd "$VERSION" || exit
|
||
|
|
||
|
docker build . -t "factoriotools/docker_factorio_server:$VERSION"
|