🧹 Remove half-ass GPU support to fix Travis build

Follow up in https://github.com/mikegerber/my_ocrd_workflow/issues/6.
pull/27/head
Gerber, Mike 5 years ago
parent a097532847
commit bb92f8b1e6

@ -1,4 +1,3 @@
#FROM nvidia/cuda:10.0-cudnn7-runtime-ubuntu18.04
FROM ubuntu:18.04
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8

2
run

@ -1,3 +1,3 @@
#!/bin/sh
# XXX Do not run privileged, use udica instead
docker run --user `id -u`:`id -g` --gpus all --rm -t --mount type=bind,src="$(pwd)",target=/data --privileged=true -e LOG_LEVEL=$LOG_LEVEL my_ocrd_workflow
docker run --user `id -u`:`id -g` --rm -t --mount type=bind,src="$(pwd)",target=/data --privileged=true -e LOG_LEVEL=$LOG_LEVEL my_ocrd_workflow

Loading…
Cancel
Save