Skip to content

Commit

Permalink
Update Docker.modis-vcf
Browse files Browse the repository at this point in the history
  • Loading branch information
cssprad1 authored Dec 17, 2024
1 parent 8d0b395 commit 76861df
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docker/applications/modis-vcf/Docker.modis-vcf
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down Expand Up @@ -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 && \
Expand All @@ -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 \
Expand All @@ -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"]

0 comments on commit 76861df

Please sign in to comment.