diff --git a/requirements/Dockerfile.dev b/requirements/Dockerfile.dev index b8a7ad1..cbe66f4 100644 --- a/requirements/Dockerfile.dev +++ b/requirements/Dockerfile.dev @@ -3,6 +3,8 @@ # Arguments to pass to the image ARG VERSION=latest ARG FROM_IMAGE=nasanccs/vhr-cloudmask +ARG STEREO_URL="https://github.com/NeoGeographyToolkit/StereoPipeline/releases/download/2.7.0/StereoPipeline-2.7.0-2020-07-29-x86_64-Linux.tar.bz2" +ARG PROJECT_PATH="/usr/local/ilab" # Import RAPIDS container as the BASE Image (cuda base image) FROM ${FROM_IMAGE}:${VERSION} @@ -50,23 +52,15 @@ RUN apt-get update && apt-get -y dist-upgrade && \ apt-get -y autoremove && \ rm -rf /var/cache/apt /var/lib/apt/lists/* -# PROJECT_PATH="/usr/local/ilab" -# mkdir -p ${PROJECT_PATH} -# STEREO_URL="https://github.com/NeoGeographyToolkit/StereoPipeline/releases/download/2.7.0/StereoPipeline-2.7.0-2020-07-29-x86_64-Linux.tar.bz2" - - #******************************************************************************* - # EVHR - #------------------------------------------------------------------------------- +RUN mkdir -p ${PROJECT_PATH} /opt/DgStereo \ # EVHR System Dependencies - #------------------------------------------------------------------------------- - -# wget $STEREO_URL -O /opt/StereoPipeline.tar.bz2 && cd /opt -# tar -jxf StereoPipeline.tar.bz2 && rm /opt/StereoPipeline.tar.bz2 -# mv /opt/StereoPipeline* /opt/StereoPipeline - - #*** 7/19/24 - REDIS and CELERY Dependencies -# python -m pip install redis -# python -m pip install celery[redis] + wget $STEREO_URL -O /opt/StereoPipeline.tar.bz2 && \ + cd /opt && \ + tar -jxf StereoPipeline.tar.bz2 && \ + rm /opt/StereoPipeline.tar.bz2 && \ + mv /opt/StereoPipeline* /opt/StereoPipeline && \ + pip install redis && \ + pip install celery[redis] # #------------------------------------------------------------------------------- # # EVHR DEM Dependencies-