Skip to content

Commit

Permalink
Update run_vfxplatform.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Jan 20, 2024
1 parent 6512181 commit a75a42b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/scripts/run_vfxplatform.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
#!/bin/bash
set -e -x

CWD=`pwd`

REL=${REL:-0}
BRANCH=${BRANCH:-""}
COMMIT=${COMMIT:-""}
TAG=${TAG:-""}
MKJOBS=${JOBS:-4}}
SDK_VERSION="20240119"
MKJOBS=${JOBS:-4}
ONLY_SDK=${ONLY_SDK:-0}

SDK_VERSION="20240119"

DOCKER="docker run"
DOCKER="${DOCKER} -e REL=${REL} -e MKJOBS=${JOBS} -e SDK_VERSION=${SDK_VERSION} -e ONLY_SDK=${ONLY_SDK} -e BRANCH=${BRANCH} -e COMMIT=${COMMIT} -e TAG=${TAG}"
DOCKER="${DOCKER} -t --mount type=bind,source=${CWD}/distfiles,target=/mnt"

if [ ! -d "${CWD}/distfiles" ]; then
echo "No distfiles!"
exit 1
fi

(cd src/scripts; docker build -t friction-vfxplatform -f Dockerfile.vfxplatform .)

${DOCKER} friction-vfxplatform

0 comments on commit a75a42b

Please sign in to comment.