1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-30 06:49:44 +01:00
tensorflow-haskell/tools/nvidia-docker-wrapper.sh
2017-10-21 20:32:19 -04:00

9 lines
247 B
Bash
Executable file

#!/bin/bash
# This wrapper is necessary to fool 'stack --docker' into
# using nvidia-docker which again will invoke the real
# docker in the end.
#
# Symlink this file as 'docker' somewhere in path
NV_DOCKER='/usr/bin/docker' nvidia-docker "$@"