From ed4ea674671214d7decbb14d04430a1b0a331897 Mon Sep 17 00:00:00 2001 From: qijun Date: Thu, 10 Aug 2017 20:01:22 +0800 Subject: [PATCH] refine dockerfile --- Dockerfile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9beb1b25..73310a2ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,13 @@ RUN apt-get update && \ wget unzip unrar tar xz-utils bzip2 gzip coreutils ntp \ curl sed grep graphviz libjpeg-dev zlib1g-dev \ python-matplotlib gcc-4.8 g++-4.8 \ - ln -sf gcc-4.8 /usr/bin/gcc && \ + automake locales clang-format swig doxygen cmake \ + liblapack-dev liblapacke-dev libboost-dev \ + clang-3.8 llvm-3.8 libclang-3.8-dev \ + net-tools && \ + apt-get clean -y + +RUN ln -sf gcc-4.8 /usr/bin/gcc && \ ln -sf gcc-ar-4.8 /usr/bin/gcc-ar && \ ln -sf gcc-nm-4.8 /usr/bin/gcc-nm && \ ln -sf gcc-ranlib-4.8 /usr/bin/gcc-ranlib && \ @@ -37,12 +43,7 @@ RUN apt-get update && \ ln -sf gcc-nm-4.8 /usr/bin/x86_64-linux-gnu-gcc-nm && \ ln -sf gcc-ranlib-4.8 /usr/bin/x86_64-linux-gnu-gcc-ranlib && \ ln -sf g++-4.8 /usr/bin/g++ && \ - ln -sf g++-4.8 /usr/bin/x86_64-linux-gnu-g++ && \ - automake locales clang-format swig doxygen cmake \ - liblapack-dev liblapacke-dev libboost-dev \ - clang-3.8 llvm-3.8 libclang-3.8-dev \ - net-tools && \ - apt-get clean -y + ln -sf g++-4.8 /usr/bin/x86_64-linux-gnu-g++ # paddle is using numpy.flip, which is introduced since 1.12.0 RUN pip --no-cache-dir install 'numpy>=1.12.0' -- GitLab