onnxruntime/dockerfiles/Dockerfile.cpu
Vinitra Swamy ea94cbf14b
Docker containers for CPU and GPU quickstart (#332)
* 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
2019-01-30 10:58:30 -08:00

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