Skip to content

Instantly share code, notes, and snippets.

@ronny
Created March 4, 2017 06:31
Show Gist options
  • Save ronny/273c3e90d3122d141b06d03dee7028b2 to your computer and use it in GitHub Desktop.
Save ronny/273c3e90d3122d141b06d03dee7028b2 to your computer and use it in GitHub Desktop.
mxnet 0.9.3a dockerfile - ubuntu 16.04
# 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