diff --git a/Dockerfile b/Dockerfile index 66db272..c04a14d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ FROM java:8 MAINTAINER davidrpugh RUN apt-get update -y && \ - apt-get install -y wget bzip2 + apt-get install -y bzip2 wget && \ + apt-get clean # Run docker image with non-root user as security precaution RUN useradd --create-home --shell /bin/bash main @@ -18,7 +19,6 @@ WORKDIR $HOME USER root RUN chown -R main:main /home/main - # Install minconda3 package manager... USER main RUN echo "Downloading Miniconda..." && \ @@ -29,6 +29,5 @@ ENV PATH $HOME/miniconda3/bin:$PATH # Install various Python dependencies... RUN conda install --yes jupyter -RUN conda install --yes numpy pandas scipy \ - matplotlib seaborn bokeh +RUN conda install --yes numpy pandas scipy matplotlib seaborn bokeh RUN conda clean --yes --tarballs \ No newline at end of file