Files
Gymnasium/bin/docker_entrypoint

13 lines
245 B
Plaintext
Raw Normal View History

2016-04-27 08:00:58 -07:00
#!/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 "$@"