Skip to content

Commit

Permalink
Merge pull request cnerg#3 from kkiesling/visit
Browse files Browse the repository at this point in the history
Build scripts for visit
  • Loading branch information
gonuke authored Apr 15, 2020
2 parents 2ab53e2 + 2e5e7dc commit 3234e4d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pymoab-visit-py2-18.04
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM svalinn/pymoab-py2-18.04:latest

RUN apt-get -y --force-yes update \
&& apt-get install -y --fix-missing \
wget \
cpio \
libpcre3-dev \
libgl1-mesa-glx \
libgl1-mesa-dev \
libsm6 \
libxt6 \
libglu1-mesa

RUN pip install xmldiff

RUN cd $HOME/opt \
&& wget https://github.com/visit-dav/visit/releases/download/v3.1.1/visit3_1_1.linux-x86_64-ubuntu18.tar.gz \
&& wget https://github.com/visit-dav/visit/releases/download/v3.1.1/visit-install3_1_1 \
&& echo 1 > input \
&& bash visit-install3_1_1 3.1.1 linux-x86_64-ubuntu18 /usr/local/visit < input \
&& rm -rf visit3_1_1.linux-x86_64-ubuntu18.tar.gz visit-install3_1_1

# set environment variables
ENV PATH /usr/local/visit/bin:$PATH
ENV LD_LIBRARY_PATH /usr/local/visit/3.1.1/linux-x86_64/lib/:$LD_LIBRARY_PATH
ENV PYTHONPATH /usr/local/visit/3.1.1/linux-x86_64/lib/site-packages:$PYTHONPATH

0 comments on commit 3234e4d

Please sign in to comment.