fgmeta/ws30/ws30-vbp-generator-docker/run_image.sh

11 lines
279 B
Bash
Raw Normal View History

#!/bin/bash
BASE_DIR="/home/flightgear"
mkdir -p output
docker run \
--rm \
--mount "type=bind,source=`pwd`/data,target=${BASE_DIR}/data,readonly" \
--mount "type=bind,source=`pwd`/output,target=${BASE_DIR}/output" \
-it \
flightgear/ws30-vbp-generator:latest /bin/bash $1