Public Repository

Last pushed: 2 years ago
Short Description
Ocean base image for Geoscience Python labs deployment (University of Sydney)
Full Description

Ocean-base image

Based upon usyd-uos-geos-base with the following additional packages:

  • strataform
  • COVE
  • tracpy
  • XBeach

Dockerfile

FROM tristansalles/usyd-uos-geos-base:latest

MAINTAINER Tristan Salles

# Install strataform model
COPY  strataform.zip .
RUN unzip strataform && \
    cd strataform && \
    make all && \
    mv bin/strataform /usr/local/bin

# Install COVE model
COPY  COVE.zip .
RUN unzip COVE.zip && \
  cd COVE.0/driver_files && \
  make -f spiral_bay_make.make && \
  mv spiral_bay.out cove && \
  mv cove /usr/local/bin

# Install XBEACH model
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    automake \
    autoconf \
    libtool \
    shtool \
    autogen \
    python-mako \
    subversion

RUN cd /usr/local && \
    svn --username tristan.salles.x.1 --password matris --trust-server-cert checkout https://svn.oss.deltares.nl/repos/xbeach/trunk && \
    cd trunk && \
    sh autogen.sh && \
    ./configure --with-netcdf && \
    make && \
    make install

# Install TRACPY
RUN git clone https://github.com/hetland/octant.git && \
    cd octant && \
    pip install --user .
    #cp -r .local/lib/python2.7/site-packages/octant* /usr/lib/python2.7/dist-packages && \

COPY tools.py .
RUN git clone https://github.com/kthyng/tracpy.git && \
    cp tools.py tracpy/tracpy && \
    cd tracpy && \
    pip install --user .
    #cd .. && \
    #cp -r .local/lib/python2.7/site-packages/tracpy* /usr/lib/python2.7/dist-packages && \
Docker Pull Command
Owner
tristansalles

Comments (0)