mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
* Docker Container for CPU Version (Ubuntu 16.04, Python3 Bindings, compatible with Windows-Docker) * Nvidia-Docker Container for GPU Version (Ubuntu 16.04, CUDA, CUDNN, Python3 Bindings) * README with Docker quickstart instructions (i.e. docker pull .../onnxruntime:cpu, docker run -it ...) * Include plans to publish public images (with ONNX Runtime 0.2) on README
23 lines
754 B
Text
23 lines
754 B
Text
#-------------------------------------------------------------------------
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
#--------------------------------------------------------------------------
|
|
# Official user quickstart docker container for ONNX Runtime
|
|
# Ubuntu 16.04, CPU version, Python 3.
|
|
#--------------------------------------------------------------------------
|
|
|
|
FROM ubuntu:16.04
|
|
MAINTAINER Vinitra Swamy "viswamy@microsoft.com"
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y sudo \
|
|
build-essential curl \
|
|
libcurl4-openssl-dev \
|
|
libssl-dev wget \
|
|
python 3.6 python3-pip \
|
|
python3-dev git
|
|
RUN pip3 install --upgrade pip
|
|
RUN pip3 install numpy onnx
|
|
|
|
RUN pip3 install onnxruntime
|
|
WORKDIR /code
|