Skip to content

Commit

Permalink
combined run lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kkiesling committed Apr 9, 2020
1 parent 85b4ccd commit 66acc6f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions pymoab-py2-18.04
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ENV HOME /root

RUN apt-get -y --force-yes update
RUN apt-get install -y --force-yes \
software-properties-common \
build-essential \
git \
cmake \
gfortran \
libblas-dev \
python-pip \
liblapack-dev \
libhdf5-dev \
autoconf \
libtool
RUN apt-get -y --force-yes update \
&& apt-get install -y --force-yes \
software-properties-common \
build-essential \
git \
cmake \
gfortran \
libblas-dev \
python-pip \
liblapack-dev \
libhdf5-dev \
autoconf \
libtool

# need to put libhdf5.so on LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu
ENV LIBRARY_PATH /usr/lib/x86_64-linux-gnu

# upgrade pip and install python dependencies
ENV PATH $HOME/.local/bin:$PATH
RUN python -m pip install --upgrade pip
RUN pip install numpy scipy cython tables matplotlib setuptools future pytest
RUN python -m pip install --upgrade pip \
&& pip install numpy scipy cython tables matplotlib setuptools future pytest

# make starting directory
RUN cd $HOME \
Expand Down
30 changes: 15 additions & 15 deletions pymoab-py3-18.04
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ENV HOME /root

RUN apt-get -y --force-yes update
RUN apt-get install -y --force-yes \
software-properties-common \
build-essential \
git \
cmake \
gfortran \
libblas-dev \
python3-pip \
liblapack-dev \
libhdf5-dev \
autoconf \
libtool
RUN apt-get -y --force-yes update \
&& apt-get install -y --force-yes \
software-properties-common \
build-essential \
git \
cmake \
gfortran \
libblas-dev \
python3-pip \
liblapack-dev \
libhdf5-dev \
autoconf \
libtool

# need to put libhdf5.so on LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu
Expand All @@ -31,8 +31,8 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10; \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10;

# upgrade pip and install python dependencies
RUN python -m pip install --upgrade pip
RUN pip install numpy scipy cython tables matplotlib setuptools future pytest
RUN python -m pip install --upgrade pip \
&& pip install numpy scipy cython tables matplotlib setuptools future pytest


# make starting directory
Expand Down

0 comments on commit 66acc6f

Please sign in to comment.