Skip to content
Snippets Groups Projects
Commit bd496d6d authored by Nick Bearson's avatar Nick Bearson
Browse files

builds! switches our own libjpeg build out for libjpeg-devel from debian repo

parent 50cd12b4
No related branches found
No related tags found
No related merge requests found
Pipeline #3989 failed
...@@ -38,21 +38,25 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \ ...@@ -38,21 +38,25 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
rm -rf ${BUILD} rm -rf ${BUILD}
# add libjpeg # add libjpeg
#RUN apt-get install -y jpeg-devel # NOTE: this has moved to: http://www.ijg.org/
RUN mkdir -p ${BUILD} && cd ${BUILD} && \ # ... can we just use the one in debian instead?
wget -q https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpegsrc.v${JPEG_VERSION}.tar.gz && \ # https://packages.debian.org/search?keywords=libjpeg
tar xzf jpegsrc.v${JPEG_VERSION}.tar.gz && \ RUN apt-get install -y libjpeg-dev
cd jpeg-${JPEG_VERSION} && \ # RUN mkdir -p ${BUILD} && cd ${BUILD} && \
./configure && make -j4 && make install && \ # wget -q https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpegsrc.v${JPEG_VERSION}.tar.gz && \
cp config.log ${OPT}/config.log-jpeg-${JPEG_VERSION} && \ # tar xzf jpegsrc.v${JPEG_VERSION}.tar.gz && \
rm -rf ${BUILD} # cd jpeg-${JPEG_VERSION} && \
# ./configure && make -j4 && make install && \
# cp config.log ${OPT}/config.log-jpeg-${JPEG_VERSION} && \
# rm -rf ${BUILD}
## add szip ## add szip
#RUN mkdir -p ${BUILD} && cd ${BUILD} && wget -q https://www.hdfgroup.org/ftp/lib-external/szip/${SZIP_VERSION}/src/szip-${SZIP_VERSION}.tar.gz && \ #RUN mkdir -p ${BUILD} && cd ${BUILD} && \
# wget -q https://www.hdfgroup.org/ftp/lib-external/szip/${SZIP_VERSION}/src/szip-${SZIP_VERSION}.tar.gz && \
# tar zxf szip-${SZIP_VERSION}.tar.gz && \ # tar zxf szip-${SZIP_VERSION}.tar.gz && \
# cd szip-${SZIP_VERSION} && \ # cd szip-${SZIP_VERSION} && \
# ./configure --prefix="/usr" --disable-shared --with-pic && make -j4 && make install && \ # ./configure --prefix="/usr" --with-pic && make -j4 && make install && \
# cp config.log /config/config.log-szip-${SZIP_VERSION} && \ # cp config.log /opt/config.log-szip-${SZIP_VERSION} && \
# rm -rf ${BUILD} # rm -rf ${BUILD}
# add hdf4 # add hdf4
...@@ -122,15 +126,15 @@ RUN mkdir -p ${BUILD} ${OPT}/nco && cd ${BUILD} && \ ...@@ -122,15 +126,15 @@ RUN mkdir -p ${BUILD} ${OPT}/nco && cd ${BUILD} && \
RUN apt-get install -y python-setuptools python-numpy python-scipy python-matplotlib python-mpltoolkits.basemap RUN apt-get install -y python-setuptools python-numpy python-scipy python-matplotlib python-mpltoolkits.basemap
RUN easy_install -f http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance RUN easy_install -f http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance
## add pyhdf for glance to read hdf4 files # ## add pyhdf for glance to read hdf4 files
RUN mkdir -p ${BUILD} && cd ${BUILD} && \ # RUN mkdir -p ${BUILD} && cd ${BUILD} && \
wget -q http://hdfeos.org/software/pyhdf/pyhdf-${PYHDF_VERSION}.tar.gz && \ # wget -q http://hdfeos.org/software/pyhdf/pyhdf-${PYHDF_VERSION}.tar.gz && \
tar xzf pyhdf-${PYHDF_VERSION}.tar.gz && \ # tar xzf pyhdf-${PYHDF_VERSION}.tar.gz && \
cd pyhdf-${PYHDF_VERSION} && \ # cd pyhdf-${PYHDF_VERSION} && \
INCLUDE_DIRS="${OPT}/hdf4/include/" \ # INCLUDE_DIRS="${OPT}/hdf4/include/" \
LIBRARY_DIRS="${OPT}/hdf4/lib/" \ # LIBRARY_DIRS="${OPT}/hdf4/lib/" \
python setup.py install && \ # python setup.py install && \
rm -r ${BUILD} # rm -r ${BUILD}
## add netcdf4-python for glance to read netcdf4 files ## add netcdf4-python for glance to read netcdf4 files
RUN mkdir -p ${BUILD} && cd ${BUILD} && \ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment