diff --git a/docker/applications/modis-vcf/Docker.modis-vcf b/docker/applications/modis-vcf/Docker.modis-vcf index a389496..dc76c5b 100644 --- a/docker/applications/modis-vcf/Docker.modis-vcf +++ b/docker/applications/modis-vcf/Docker.modis-vcf @@ -8,19 +8,23 @@ ARG FROM_IMAGE=rapidsai/base # Import RAPIDS container as the BASE Image (cuda base image) FROM ${FROM_IMAGE}:${RAPIDS_VER}-cuda${CUDA_VER}-py${PYTHON_VER} USER root + #------------------------------------------------------------------------------- # - 1/12/23 modis-vcf 1.0.0 -initial container built with pyarrow # - 7/30/24 modis-vcf 1.0.1 -upgraded numpy to 1.23.3.scipy 1.10.0 requires numpy<1.27.0,>=1.19.5 and numba 0.56.4 requires numpy<1.24,>=1.18. *note ilab-base 6.1.0 has numpy 1.21, weird. # - 11/6/24 modis-vcf 1.2.0 -Request from Roger to install cuML # - 11/13/24 modis-vcf 2.0 -Converting to Docker build format #------------------------------------------------------------------------------- - # Ubuntu needs noninteractive to be forced ENV DEBIAN_FRONTEND noninteractive ENV CPLUS_INCLUDE_PATH="/usr/include/gdal" ENV C_INCLUDE_PATH="/usr/include/gdal" +ENV PYTHONPATH="$PYTHONPATH:/usr/local/ilab" +ENV PYTHONPATH="$PYTHONPATH:/usr/local/ilab/modis_vcf" +#------------------------------------------------------------------------------- # System dependencies +#------------------------------------------------------------------------------- RUN apt-get update && \ apt-get -y install software-properties-common && \ add-apt-repository ppa:ubuntugis/ubuntugis-unstable && \ @@ -62,7 +66,9 @@ RUN apt-get update && \ apt-get -y autoremove && \ rm -rf /var/cache/apt /var/lib/apt/lists/* - +#------------------------------------------------------------------------------- +# Install shiftc +#------------------------------------------------------------------------------- # Install shiftc WORKDIR /app RUN git clone --single-branch --branch master https://github.com/pkolano/shift.git && \ @@ -80,7 +86,9 @@ RUN git clone --single-branch --branch master https://github.com/pkolano/shift.g locale-gen en_US.UTF-8 && \ rm -rf /app -# Pip +#------------------------------------------------------------------------------- +# Python dependencies +#------------------------------------------------------------------------------- RUN pip install \ numpy \ certifi \ @@ -99,6 +107,15 @@ RUN pip install \ GDAL \ flake8 +#------------------------------------------------------------------------------- +# Application +#------------------------------------------------------------------------------- +RUN mkdir -p "/usr/local/ilab" && \ + git clone --single-branch --branch main https://github.com/nasa-nccs-hpda/core.git \ + /usr/local/ilab/core && \ + git clone --single-branch --branch main https://github.com/nasa-nccs-hpda/modis_vcf.git \ + /usr/local/ilab/modis_vcf + HEALTHCHECK NONE ENTRYPOINT [] CMD ["/bin/bash"]