Created
March 4, 2017 06:31
-
-
Save ronny/273c3e90d3122d141b06d03dee7028b2 to your computer and use it in GitHub Desktop.
mxnet 0.9.3a dockerfile - ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Originally from https://github.com/dmlc/mxnet/tree/master/docker | |
# by Mu Li <[email protected]> | |
FROM ubuntu:16.04 | |
LABEL version="0.9.3a" \ | |
website="https://mxnet.io" \ | |
repository="https://github.com/dmlc/mxnet" \ | |
tags="machine-learning, deep-learning, deep-neural-networks, distributed-systems" | |
# install the core library | |
RUN apt-get update && apt-get install -y build-essential git libopenblas-dev libopencv-dev | |
# CPU / non-GPU version | |
RUN git clone --recursive https://github.com/dmlc/mxnet/ && \ | |
cd mxnet && \ | |
git checkout v0.9.3a && \ | |
cp make/config.mk . && \ | |
echo "USE_BLAS=openblas" >>config.mk && \ | |
make -j$(nproc) | |
# python pakcage | |
RUN apt-get install -y python-requests python-numpy wget unzip | |
ENV PYTHONPATH /mxnet/python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment