From 4f6100b67f095f9541335dda38a44d8005c0a6c7 Mon Sep 17 00:00:00 2001 From: Johann Schleier-Smith Date: Wed, 18 Jan 2017 23:23:34 -0800 Subject: [PATCH] fix docker build bug (#207) --- docker/base-deps/Dockerfile | 4 +--- docker/examples/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/base-deps/Dockerfile b/docker/base-deps/Dockerfile index ecd8c4a96..c494d0ee3 100644 --- a/docker/base-deps/Dockerfile +++ b/docker/base-deps/Dockerfile @@ -4,9 +4,7 @@ FROM ubuntu:xenial RUN apt-get update \ && apt-get install -y vim git wget \ - && apt-get install -y cmake build-essential autoconf curl libtool libboost-all-dev unzip \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + && apt-get install -y cmake build-essential autoconf curl libtool libboost-all-dev unzip RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh \ && wget --quiet 'https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh' -O /tmp/anaconda.sh \ && /bin/bash /tmp/anaconda.sh -b -p /opt/conda \ diff --git a/docker/examples/Dockerfile b/docker/examples/Dockerfile index db469a2fb..854649f4b 100644 --- a/docker/examples/Dockerfile +++ b/docker/examples/Dockerfile @@ -2,5 +2,5 @@ FROM ray-project/deploy RUN conda install -y -c conda-forge tensorflow -RUN apt-get install zlib1g-dev +RUN apt-get install -y zlib1g-dev RUN pip install gym[atari]