onnxruntime/tools/ci_build/github/linux/docker/Dockerfile.fedora_gpu
Changming Sun 5e113661a9 Build system upgrades (#281)
* update

* runas normal user
2019-01-07 13:15:24 -08:00

11 lines
392 B
Text

ARG OS_VERSION=27
FROM fedora:${OS_VERSION}
# nvidia-container-runtime
ENV NVIDIA_VISIBLE_DEVICES=all \
NVIDIA_DRIVER_CAPABILITIES=compute,utility \
NVIDIA_REQUIRE_CUDA="cuda>=9.2" \
PATH="/usr/lib64/ccache:/opt/cmake/bin:${PATH}"
ADD scripts /tmp/scripts
ARG AZURE_BLOB_KEY
RUN cd /tmp/scripts && /tmp/scripts/install_fedora_gpu.sh && /tmp/scripts/install_deps.sh && rm -rf /tmp/scripts