Files
Gymnasium/bin/docker_entrypoint
2016-04-27 08:00:58 -07:00

13 lines
245 B
Bash
Executable File

#!/bin/sh
# This script is the entrypoint for our Docker image.
set -e
# Set up display; otherwise rendering will cause segfaults
rm -f /tmp/.X12-lock
Xvfb :12 -screen 0 800x600x24 +extension RANDR 2>/dev/null &
export DISPLAY=:12
exec "$@"