From dc875d676980ad286026428a16af466b6c8d660c Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Fri, 12 Apr 2019 10:36:12 +0200 Subject: Add Dockerfile for ubuntu (circleci purpose) --- Dockerfile_ubuntu | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Dockerfile_ubuntu (limited to 'Dockerfile_ubuntu') diff --git a/Dockerfile_ubuntu b/Dockerfile_ubuntu new file mode 100644 index 00000000..ad3c55ca --- /dev/null +++ b/Dockerfile_ubuntu @@ -0,0 +1,57 @@ +FROM ubuntu:latest + +# Update and upgrade distribution +RUN apt-get update && \ + apt-get upgrade -y + +# Tools necessary for installing and configuring Ubuntu +RUN apt-get install -y \ + apt-utils \ + locales \ + tzdata + +# Timezone +RUN echo "Europe/Paris" | tee /etc/timezone && \ + ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime && \ + dpkg-reconfigure -f noninteractive tzdata + +# Locale with UTF-8 support +RUN echo en_US.UTF-8 UTF-8 >> /etc/locale.gen && \ + locale-gen && \ + update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + +# Required for Gudhi compilation +RUN apt-get install -y curl \ + make \ + cmake \ + g++ \ + graphviz \ + doxygen \ + perl \ + libboost-all-dev \ + libeigen3-dev \ + libgmp3-dev \ + libmpfr-dev \ + libtbb-dev \ + libcgal-dev \ + locales \ + python3 \ + python3-pip \ + python3-pytest \ + python3-tk \ + libfreetype6-dev \ + pkg-config + +RUN pip3 install \ + numpy \ + matplotlib \ + scipy \ + Cython \ + sphinx \ + sphinxcontrib-bibtex + +# apt clean up +RUN apt autoremove && rm -rf /var/lib/apt/lists/* -- cgit v1.2.3