fgmeta/ws30/ws30-vbp-generator-docker/run_image.sh
Fahim Imaduddin Dalvi 54e68e949f Added Dockerfile for VPB terrain generator
Added a Dockerfile that can be used to build a docker/podman image with
the required environment for VPB terrain generator. A sample generation
script is also included.
2021-11-15 20:23:44 +03:00

11 lines
275 B
Bash
Executable File

#!/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:v1 /bin/bash $1