Move Dockerfile to an empty folder

Clear apt cache and tmp files after package installation via apt
This commit is contained in:
Harsh Vakharia 2015-10-28 14:03:40 +05:30
parent 30eb5ca083
commit 8301046b06
1 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM ubuntu:14.04
MAINTAINER Brandon Amos <brandon.amos.cs@gmail.com>
RUN apt-get update
RUN apt-get install -y \
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
@ -19,7 +19,9 @@ RUN apt-get install -y \
python-dev \
python-pip \
wget \
zip
zip \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN pip2 install numpy scipy pandas
RUN pip2 install scikit-learn scikit-image