Repository: incubator-singa Updated Branches: refs/heads/master 6b5ec2afa -> f647d685f
SINGA-276 Create docker images Add dockerfile for singa runtime (cpp version) which install PySINGA from wheel. Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/ab7221e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/ab7221e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/ab7221e5 Branch: refs/heads/master Commit: ab7221e509763315ede79828a114c81ac343af55 Parents: c3ce75e Author: wangwei <[email protected]> Authored: Thu Dec 29 20:30:23 2016 +0800 Committer: wangwei <[email protected]> Committed: Fri Jan 13 13:35:16 2017 +0800 ---------------------------------------------------------------------- tool/docker/runtime/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/ab7221e5/tool/docker/runtime/Dockerfile ---------------------------------------------------------------------- diff --git a/tool/docker/runtime/Dockerfile b/tool/docker/runtime/Dockerfile new file mode 100644 index 0000000..eb6227d --- /dev/null +++ b/tool/docker/runtime/Dockerfile @@ -0,0 +1,15 @@ +# Base unbuntu 16.04 image +FROM ubuntu:latest + +MAINTAINER incubator-singa [email protected] + +# install dependencies +RUN apt-get update \ + && apt-get install -y --no-install-recommends git python python-pip \ + && apt-get clean && apt-get autoremove && apt-get autoclean \ + && rm -rf /var/lib/apt/lists/* \ + && pip --no-cache-dir install -U pip setuptools + + +# install pysinga +RUN pip install --upgrade http://www.comp.nus.edu.sg/~dbsystem/singa/assets/file/whl/latest/ubuntu16.04-cpp/singa-1.0.1-py2-none-any.whl
