-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
28 lines (22 loc) · 946 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
############################################################
# Dockerfile to run graphlab
# Based on Miniconda2 Image
############################################################
FROM continuumio/miniconda
MAINTAINER Sudhanshu Shekhar <[email protected]>
RUN mkdir -p /workspace
WORKDIR /workspace
RUN set -eux \
&& apt-get update && apt-get install -y \
&& apt-get install --no-install-recommends build-essential libssl-dev -y \
&& rm -rf /var/lib/apt/lists/*
RUN conda update --yes pip
RUN conda install -y ipython ipython-notebook
ARG GL_USER_EMAIL
ARG GL_USER_KEY
RUN pip install --upgrade --no-cache-dir https://get.graphlab.com/GraphLab-Create/2.1/${GL_USER_EMAIL}/${GL_USER_KEY}/GraphLab-Create-License.tar.gz
COPY requirements.txt /tmp/requirements.txt
RUN set -eux \
&& pip install --no-cache-dir -r /tmp/requirements.txt \
&& rm -fv /tmp/zomato-requirements.txt \
&& conda clean --all --yes