clm5/lilac/Dockerfile
2024-05-09 15:14:01 +08:00

27 lines
528 B
Docker

FROM jhamman/esmf:latest
LABEL description="LILAC development environment"
RUN yum install -y curl
RUN yum upgrade -y
RUN yum update -y
RUN yum clean all
RUN yum -y install wget bzip2
WORKDIR /usr/src/lilac/
RUN mkdir -p external
RUN mkdir -p ci
COPY external/pfunit external/pfunit
COPY ci/* ci/
# Install some remaining dependencies
ENV PATH /usr/local/miniconda/bin:$PATH
RUN ./ci/install_python.sh
ENV ESMF_CONFIG_FILE /usr/local/lib/esmf.mk
# Install PFUNIT
RUN ./ci/install_pfunit.sh
ENV PFUNIT_INSTALL /usr/pfunit