From 3341e5a55bc63aa71a33ec792eadc841f4b6716d Mon Sep 17 00:00:00 2001 From: Jennifer Rinker <rink@win.dtu.dk> Date: Wed, 2 May 2018 18:51:15 +0200 Subject: [PATCH] adding make --- docker/Dockerfile_simple | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile_simple b/docker/Dockerfile_simple index 0dcd669b..236e2a96 100644 --- a/docker/Dockerfile_simple +++ b/docker/Dockerfile_simple @@ -7,16 +7,19 @@ MAINTAINER Jenni Rinker <rink@dtu.dk> # get list of update linux files and install lib for matplotlib # (anaconda3:5.0.0 image doesn't have the library) -RUN apt update && \ - apt install libgl1-mesa-glx -y +# also install "make" because image doesn't have it either +RUN apt-get update && \ + apt-get install make && \ + apt-get install libgl1-mesa-glx -y -# use conde to update itself and install packages not in the +# use conda to update itself and install packages not in the # anaconda3 image RUN conda update -y conda &&\ conda install -y sphinx_rtd_theme && \ conda install -y pytest-cov && \ conda clean -y --all -# use pip to install openmdao (nocache to save space) -RUN pip install --no-cache-dir openmdao +# update pip then install openmdao (nocache to save space) +RUN pip install --upgrade pip &&\ + pip install --no-cache-dir openmdao -- GitLab