From ed4551c5a9795820f5f9557346df6c349d3ba5b4 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Fri, 13 Jan 2023 15:01:50 -0700 Subject: [PATCH 01/13] added Dockerfile to build using debian image --- Dockerfile.debian | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Dockerfile.debian diff --git a/Dockerfile.debian b/Dockerfile.debian new file mode 100644 index 0000000..be443d6 --- /dev/null +++ b/Dockerfile.debian @@ -0,0 +1,54 @@ +FROM debian:10-slim +MAINTAINER George McCabe + +# +# Define the compilers. +# +ENV CC /usr/bin/gcc +ENV CXX /usr/bin/g++ +ENV FC /usr/bin/gfortran +ENV F77 /usr/bin/gfortran + +ENV PYTHON_VER 3.10.4 + +# +# Setup the environment for interactive bash/csh container shells. +# +RUN echo export MET_BASE=/usr/local/share/met >> /etc/bashrc \ + && echo setenv MET_BASE /usr/local/share/met >> /etc/csh.cshrc \ + && echo export MET_FONT_DIR=/usr/local/share/met/fonts >> /etc/bashrc \ + && echo setenv MET_FONT_DIR /usr/local/share/met/fonts >> /etc/csh.cshrc \ + && echo export RSCRIPTS_BASE=/usr/local/share/met/Rscripts >> /etc/bashrc \ + && echo setenv RSCRIPTS_BASE /usr/local/share/met/Rscripts >> /etc/csh.cshrc + +ENV MET_FONT_DIR /usr/local/share/met/fonts + +RUN apt update \ + && apt install -y build-essential gfortran wget unzip curl \ + libcurl4-gnutls-dev m4 git automake flex bison emacs less \ + libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev \ + libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev + +# +# Install Python +# https://linuxhint.com/install-python-debian-10/ +# +RUN wget https://www.python.org/ftp/python/${PYTHON_VER}/Python-${PYTHON_VER}.tgz \ + && tar xzf Python-${PYTHON_VER}.tgz \ + && cd Python-${PYTHON_VER} \ + && ./configure --enable-optimizations --enable-shared \ + && make -j `nproc` \ + && make install + +# +# Set the working directory. +# +WORKDIR /met + +RUN wget https://dtcenter.ucar.edu/dfiles/code/METplus/MET/installation/tar_files.tgz \ + && wget https://raw.githubusercontent.com/dtcenter/MET/feature_test_compile/internal/scripts/installation/compile_MET_all.sh \ + && wget https://raw.githubusercontent.com/dtcenter/MET/feature_test_compile/internal/scripts/environment/development.docker \ + && tar -zxf tar_files.tgz \ + && export SKIP_MET=yes \ + && chmod +x compile_MET_all.sh \ + && ./compile_MET_all.sh development.docker From d081f4cb82945af8428e33d245cd8ef498f5b8ee Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Fri, 13 Jan 2023 16:06:17 -0700 Subject: [PATCH 02/13] added Dockerfile for unit test environment using debian --- Dockerfile.debian_unit_test_env | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Dockerfile.debian_unit_test_env diff --git a/Dockerfile.debian_unit_test_env b/Dockerfile.debian_unit_test_env new file mode 100644 index 0000000..08b3626 --- /dev/null +++ b/Dockerfile.debian_unit_test_env @@ -0,0 +1,26 @@ +ARG MET_BASE_TAG + +FROM dtcenter/met-base:${MET_BASE_TAG} + +MAINTAINER John Halley Gotway + +# +# Set the working directory. +# +WORKDIR /met + +# +# Download and install MET and GhostScript fonts. +# Delete the MET source code for tagged releases matching "v"*. +# +RUN echo "Installing tools needed for running MET unit tests..." \ + && echo "Installing Perl XML Parser..." \ + && apt install -y libxml-parser-perl \ + && echo "Installing R..." \ + && apt install -y r-base \ + && echo "Installing R ncdf4 1.21..." \ + && wget https://cran.r-project.org/src/contrib/ncdf4_1.21.tar.gz \ + && R CMD INSTALL --configure-args="--with-nc-config=/met/external_libs/netcdf/netcdf-c-4.7.4/nc-config" ncdf4_1.21.tar.gz \ + && echo "Installing NCO (for ncdiff)..." \ + && apt install -y nco \ + && echo "Finished installing unit test tools" From 38443eddee67b0b449603873ea19cb7d2a4e61f6 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 18 Jan 2023 13:27:33 -0700 Subject: [PATCH 03/13] added jpeg (for hdf) and pixman (for cairo) libraries --- Dockerfile.debian | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index be443d6..116f2fc 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -25,7 +25,8 @@ ENV MET_FONT_DIR /usr/local/share/met/fonts RUN apt update \ && apt install -y build-essential gfortran wget unzip curl \ - libcurl4-gnutls-dev m4 git automake flex bison emacs less \ + libcurl4-gnutls-dev m4 git automake flex bison libjpeg-dev libpixman-1-dev \ + emacs less \ libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev \ libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev From 17beb02f675a9e06fe5bbcb4fa2ee53665145b82 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 18 Jan 2023 17:40:17 -0700 Subject: [PATCH 04/13] download GhostScript fonts --- Dockerfile.debian | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile.debian b/Dockerfile.debian index 116f2fc..27bd363 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -11,6 +11,8 @@ ENV F77 /usr/bin/gfortran ENV PYTHON_VER 3.10.4 +ENV GSFONT_URL https://dtcenter.ucar.edu/dfiles/code/METplus/MET/docker_data/ghostscript-fonts-std-8.11.tar.gz + # # Setup the environment for interactive bash/csh container shells. # @@ -53,3 +55,7 @@ RUN wget https://dtcenter.ucar.edu/dfiles/code/METplus/MET/installation/tar_file && export SKIP_MET=yes \ && chmod +x compile_MET_all.sh \ && ./compile_MET_all.sh development.docker + +RUN echo "Downloading GhostScript fonts from ${GSFONT_URL} into /usr/local/share/met" \ + && mkdir -p /usr/local/share/met \ + && curl -SL ${GSFONT_URL} | tar zxC /usr/local/share/met From 0156a37471a54470baa591cc17f7470eb5c14eff Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:52:13 -0700 Subject: [PATCH 05/13] install python packages needed to run python embedding --- Dockerfile.debian | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index 27bd363..bb70748 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -41,7 +41,10 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VER}/Python-${PYTHON_VER}.tg && cd Python-${PYTHON_VER} \ && ./configure --enable-optimizations --enable-shared \ && make -j `nproc` \ - && make install + && make install \ + && export LD_LIBRARY_PATH=/usr/local/lib \ + && python3 -m pip install --upgrade pip \ + && python3 -m pip install numpy xarray netCDF4 # # Set the working directory. From 245606853662e503641e228cc63b1c63efbada2a Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:52:31 -0700 Subject: [PATCH 06/13] install netcdf-bin to get ncdiff because it was not included in nco --- Dockerfile.debian_unit_test_env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.debian_unit_test_env b/Dockerfile.debian_unit_test_env index 08b3626..db86f92 100644 --- a/Dockerfile.debian_unit_test_env +++ b/Dockerfile.debian_unit_test_env @@ -21,6 +21,6 @@ RUN echo "Installing tools needed for running MET unit tests..." \ && echo "Installing R ncdf4 1.21..." \ && wget https://cran.r-project.org/src/contrib/ncdf4_1.21.tar.gz \ && R CMD INSTALL --configure-args="--with-nc-config=/met/external_libs/netcdf/netcdf-c-4.7.4/nc-config" ncdf4_1.21.tar.gz \ - && echo "Installing NCO (for ncdiff)..." \ - && apt install -y nco \ + && echo "Installing NCO and netcdf-bin (for ncdiff)..." \ + && apt install -y nco netcdf-bin \ && echo "Finished installing unit test tools" From 1816cdf70b564ddf4fe81f14c102be28f16cfd80 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Fri, 20 Jan 2023 14:50:08 -0700 Subject: [PATCH 07/13] updated bashrc location for debian --- Dockerfile.debian | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index bb70748..b170ad7 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -16,11 +16,11 @@ ENV GSFONT_URL https://dtcenter.ucar.edu/dfiles/code/METplus/MET/docker_data # # Setup the environment for interactive bash/csh container shells. # -RUN echo export MET_BASE=/usr/local/share/met >> /etc/bashrc \ +RUN echo export MET_BASE=/usr/local/share/met >> /etc/bash.bashrc \ && echo setenv MET_BASE /usr/local/share/met >> /etc/csh.cshrc \ - && echo export MET_FONT_DIR=/usr/local/share/met/fonts >> /etc/bashrc \ + && echo export MET_FONT_DIR=/usr/local/share/met/fonts >> /etc/bash.bashrc \ && echo setenv MET_FONT_DIR /usr/local/share/met/fonts >> /etc/csh.cshrc \ - && echo export RSCRIPTS_BASE=/usr/local/share/met/Rscripts >> /etc/bashrc \ + && echo export RSCRIPTS_BASE=/usr/local/share/met/Rscripts >> /etc/bash.bashrc \ && echo setenv RSCRIPTS_BASE /usr/local/share/met/Rscripts >> /etc/csh.cshrc ENV MET_FONT_DIR /usr/local/share/met/fonts From b6acb090ac63961c4cd2b60a9e374dca18f8b4ac Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Mon, 30 Jan 2023 14:57:51 -0700 Subject: [PATCH 08/13] updated commands to build images --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 85b6b4c..ea4123f 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,15 @@ GitHub actions are triggered for each new tag created in this repository to auto 1. `Dockerfile` defines the base compilation environment for MET. Tagged versions are available in the [dtcenter/met-base](https://hub.docker.com/repository/docker/dtcenter/met-base) DockerHub repository. It can be built manually by running: ``` -docker build -t dtcenter/met-base . +docker build -t dtcenter/met-base:v2.0_debian10 -f Dockerfile.debian . ``` 2. `Dockerfile.unit_test_env` extends the `dtcenter/met-base` image by adding packages required for running the MET unit tests. Tagged versions are available in the [dtcenter/met-base-unit-test](https://hub.docker.com/repository/docker/dtcenter/met-base-unit-test) DockerHub repository. It can be built manually by running: ``` -docker build -t dtcenter/met-base-unit-test \ - --build-arg MET_BASE_TAG=${MET_BASE_TAG} \ - -f Dockerfile.unit_test_env . +export MET_BASE_TAG=v2.0_debian10 +docker build -t dtcenter/met-base-unit-test:v2.0_debian10 \ + --build-arg MET_BASE_TAG \ + -f Dockerfile.debian_unit_test_env . ``` where: From c03a9b12414788b150b7856fdf7990354ef0c9a9 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Tue, 31 Jan 2023 16:45:19 -0700 Subject: [PATCH 09/13] make debian version an optional argument, set soft stack to unlimited in bashrc/cshrc to prevent grib2 seg faults, upgrade apt instead of just update, install imagemagick to get convert, fix convert policies to allow PS output --- Dockerfile.debian | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index b170ad7..5052e49 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -1,4 +1,5 @@ -FROM debian:10-slim +ARG DEBIAN_VERSION=10 +FROM debian:${DEBIAN_VERSION}-slim MAINTAINER George McCabe # @@ -15,22 +16,26 @@ ENV GSFONT_URL https://dtcenter.ucar.edu/dfiles/code/METplus/MET/docker_data # # Setup the environment for interactive bash/csh container shells. +# Set soft limit to unlimited to prevent GRIB2 seg faults # -RUN echo export MET_BASE=/usr/local/share/met >> /etc/bash.bashrc \ +RUN echo export MET_BASE=/usr/local/share/met >> /root/.bashrc \ && echo setenv MET_BASE /usr/local/share/met >> /etc/csh.cshrc \ - && echo export MET_FONT_DIR=/usr/local/share/met/fonts >> /etc/bash.bashrc \ + && echo export MET_FONT_DIR=/usr/local/share/met/fonts >> /root/.bashrc \ && echo setenv MET_FONT_DIR /usr/local/share/met/fonts >> /etc/csh.cshrc \ - && echo export RSCRIPTS_BASE=/usr/local/share/met/Rscripts >> /etc/bash.bashrc \ - && echo setenv RSCRIPTS_BASE /usr/local/share/met/Rscripts >> /etc/csh.cshrc + && echo export RSCRIPTS_BASE=/usr/local/share/met/Rscripts >> /root/.bashrc \ + && echo setenv RSCRIPTS_BASE /usr/local/share/met/Rscripts >> /etc/csh.cshrc \ + && echo ulimit -S -s unlimited >> /root/.bashrc \ + && echo ulimit -S -s unlimited >> /etc/csh.cshrc ENV MET_FONT_DIR /usr/local/share/met/fonts -RUN apt update \ - && apt install -y build-essential gfortran wget unzip curl \ - libcurl4-gnutls-dev m4 git automake flex bison libjpeg-dev libpixman-1-dev \ - emacs less \ - libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev \ - libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev +# Install required system tools +RUN apt update && apt -y upgrade \ + && apt install -y build-essential gfortran wget unzip curl imagemagick \ + libcurl4-gnutls-dev m4 git automake flex bison libjpeg-dev libpixman-1-dev \ + emacs less \ + libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev \ + libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev # # Install Python @@ -46,6 +51,18 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VER}/Python-${PYTHON_VER}.tg && python3 -m pip install --upgrade pip \ && python3 -m pip install numpy xarray netCDF4 +RUN echo "Downloading GhostScript fonts from ${GSFONT_URL} into /usr/local/share/met" \ + && mkdir -p /usr/local/share/met \ + && curl -SL ${GSFONT_URL} | tar zxC /usr/local/share/met + +# Fix rules for ghostscript files in convert +# See: https://en.linuxportal.info/tutorials/troubleshooting/how-to-fix-errors-from-imagemagick-imagick-conversion-system-security-policy +# +RUN sed -i 's/policy domain="coder" rights="none" pattern="PS/policy domain="coder" rights="read | write" pattern="PS/g' /etc/ImageMagick-6/policy.xml \ + && sed -i 's/policy domain="coder" rights="none" pattern="EPS"/policy domain="coder" rights="read | write" pattern="EPS"/g' /etc/ImageMagick-6/policy.xml \ + && sed -i 's/policy domain="coder" rights="none" pattern="PDF"/policy domain="coder" rights="read | write" pattern="PDF"/g' /etc/ImageMagick-6/policy.xml \ + && sed -i 's/policy domain="coder" rights="none" pattern="XPS"/policy domain="coder" rights="read | write" pattern="XPS"/g' /etc/ImageMagick-6/policy.xml + # # Set the working directory. # @@ -58,7 +75,3 @@ RUN wget https://dtcenter.ucar.edu/dfiles/code/METplus/MET/installation/tar_file && export SKIP_MET=yes \ && chmod +x compile_MET_all.sh \ && ./compile_MET_all.sh development.docker - -RUN echo "Downloading GhostScript fonts from ${GSFONT_URL} into /usr/local/share/met" \ - && mkdir -p /usr/local/share/met \ - && curl -SL ${GSFONT_URL} | tar zxC /usr/local/share/met From 537bad8e8c41f6b6edc57684c767e1d5fae2e9a8 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 8 Feb 2023 12:14:03 -0700 Subject: [PATCH 10/13] remove cshrc settings since only bash is used, set LDFLAGS for Python install to remove need to set LD_LIBRARY_PATH for pip commands, update NetCDF install location, add steps to push newly created base images --- Dockerfile.debian | 11 +++-------- Dockerfile.debian_unit_test_env | 2 +- README.md | 2 ++ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index 5052e49..d6e9aa4 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -15,17 +15,13 @@ ENV PYTHON_VER 3.10.4 ENV GSFONT_URL https://dtcenter.ucar.edu/dfiles/code/METplus/MET/docker_data/ghostscript-fonts-std-8.11.tar.gz # -# Setup the environment for interactive bash/csh container shells. +# Setup the environment for interactive bash shell. # Set soft limit to unlimited to prevent GRIB2 seg faults # RUN echo export MET_BASE=/usr/local/share/met >> /root/.bashrc \ - && echo setenv MET_BASE /usr/local/share/met >> /etc/csh.cshrc \ && echo export MET_FONT_DIR=/usr/local/share/met/fonts >> /root/.bashrc \ - && echo setenv MET_FONT_DIR /usr/local/share/met/fonts >> /etc/csh.cshrc \ && echo export RSCRIPTS_BASE=/usr/local/share/met/Rscripts >> /root/.bashrc \ - && echo setenv RSCRIPTS_BASE /usr/local/share/met/Rscripts >> /etc/csh.cshrc \ - && echo ulimit -S -s unlimited >> /root/.bashrc \ - && echo ulimit -S -s unlimited >> /etc/csh.cshrc + && echo ulimit -S -s unlimited >> /root/.bashrc ENV MET_FONT_DIR /usr/local/share/met/fonts @@ -44,10 +40,9 @@ RUN apt update && apt -y upgrade \ RUN wget https://www.python.org/ftp/python/${PYTHON_VER}/Python-${PYTHON_VER}.tgz \ && tar xzf Python-${PYTHON_VER}.tgz \ && cd Python-${PYTHON_VER} \ - && ./configure --enable-optimizations --enable-shared \ + && ./configure --enable-optimizations --enable-shared LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib" \ && make -j `nproc` \ && make install \ - && export LD_LIBRARY_PATH=/usr/local/lib \ && python3 -m pip install --upgrade pip \ && python3 -m pip install numpy xarray netCDF4 diff --git a/Dockerfile.debian_unit_test_env b/Dockerfile.debian_unit_test_env index db86f92..6938adb 100644 --- a/Dockerfile.debian_unit_test_env +++ b/Dockerfile.debian_unit_test_env @@ -20,7 +20,7 @@ RUN echo "Installing tools needed for running MET unit tests..." \ && apt install -y r-base \ && echo "Installing R ncdf4 1.21..." \ && wget https://cran.r-project.org/src/contrib/ncdf4_1.21.tar.gz \ - && R CMD INSTALL --configure-args="--with-nc-config=/met/external_libs/netcdf/netcdf-c-4.7.4/nc-config" ncdf4_1.21.tar.gz \ + && R CMD INSTALL --configure-args="--with-nc-config=/usr/local/netcdf/netcdf-c-4.7.4/nc-config" ncdf4_1.21.tar.gz \ && echo "Installing NCO and netcdf-bin (for ncdiff)..." \ && apt install -y nco netcdf-bin \ && echo "Finished installing unit test tools" diff --git a/README.md b/README.md index ea4123f..f04d273 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ GitHub actions are triggered for each new tag created in this repository to auto 1. `Dockerfile` defines the base compilation environment for MET. Tagged versions are available in the [dtcenter/met-base](https://hub.docker.com/repository/docker/dtcenter/met-base) DockerHub repository. It can be built manually by running: ``` docker build -t dtcenter/met-base:v2.0_debian10 -f Dockerfile.debian . +docker push dtcenter/met-base:v2.0_debian10 ``` 2. `Dockerfile.unit_test_env` extends the `dtcenter/met-base` image by adding packages required for running the MET unit tests. Tagged versions are available in the [dtcenter/met-base-unit-test](https://hub.docker.com/repository/docker/dtcenter/met-base-unit-test) DockerHub repository. It can be built manually by running: @@ -21,6 +22,7 @@ export MET_BASE_TAG=v2.0_debian10 docker build -t dtcenter/met-base-unit-test:v2.0_debian10 \ --build-arg MET_BASE_TAG \ -f Dockerfile.debian_unit_test_env . +docker push dtcenter/met-base-unit-test:v2.0_debian10 ``` where: From 984d7efccd1f7be76f315fa42a434dc159e803d1 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 8 Feb 2023 12:17:32 -0700 Subject: [PATCH 11/13] change URL to get compilation files from develop instead of MET feature branch that will go away --- Dockerfile.debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index d6e9aa4..eb5f6c0 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -64,8 +64,8 @@ RUN sed -i 's/policy domain="coder" rights="none" pattern="PS/policy domain="cod WORKDIR /met RUN wget https://dtcenter.ucar.edu/dfiles/code/METplus/MET/installation/tar_files.tgz \ - && wget https://raw.githubusercontent.com/dtcenter/MET/feature_test_compile/internal/scripts/installation/compile_MET_all.sh \ - && wget https://raw.githubusercontent.com/dtcenter/MET/feature_test_compile/internal/scripts/environment/development.docker \ + && wget https://raw.githubusercontent.com/dtcenter/MET/develop/internal/scripts/installation/compile_MET_all.sh \ + && wget https://raw.githubusercontent.com/dtcenter/MET/develop/internal/scripts/environment/development.docker \ && tar -zxf tar_files.tgz \ && export SKIP_MET=yes \ && chmod +x compile_MET_all.sh \ From 7812b4c7c6624a012ada95f418df98b86f549174 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 8 Feb 2023 12:26:35 -0700 Subject: [PATCH 12/13] added version history --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index f04d273..9c0b76a 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,26 @@ This repository contains Dockerfiles which define environments for building and Please see the [MET website](https://dtcenter.org/community-code/model-evaluation-tools-met) and the [MET User's Guide](https://met.readthedocs.io/en/latest) for more information. Support for the METplus components, including this repository, is provided through the [METplus Discussions](https://github.com/dtcenter/METplus/discussions) forum. Users are welcome and encouraged to answer or address each other's questions there! For more information, please read "[Welcome to the METplus Components Discussions](https://github.com/dtcenter/METplus/discussions/939)". +Version History +=============== + +v2.0_debian10 +------------- + +* Uses debian:10-slim as base image +* Python 3.10.4 + +v1.1 +---- + +* Update NetCDF libraries to support groups (needed for ioda2nc enhancements) +* Update versions of HDF5 and NetCDF libraries to mirror WCOSS2 + +v1.0 +---- + +* Initial release + How to Use Dockerfiles ====================== From 4869987a3bd1ba1c23ef11cc0e96e9e3059fa923 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Wed, 8 Feb 2023 12:27:24 -0700 Subject: [PATCH 13/13] added to version history --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9c0b76a..541aaa0 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ v1.0 ---- * Initial release +* Uses centos:7 as base image How to Use Dockerfiles ======================