mirror of
https://bitbucket.org/seefoe/dockerized-swg.git
synced 2026-01-15 22:04:29 -05:00
12 lines
303 B
Bash
Executable File
12 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
basedir=$PWD
|
|
|
|
# ensure that repo has been setup
|
|
$basedir/utils/initial_setup.sh
|
|
|
|
# run the docker image and build the source
|
|
docker run -v $basedir/gameserver/:/swg/:z -v $basedir/dsrc/:/swg/dsrc/:z -e SWG_BUILD_DSRC=TRUE swg-runtime
|
|
|
|
# cleanup any artifacts
|
|
rm -rf $basedir/gameserver/dsrc
|