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

updating versions & download locations

parent 5840b80d
No related branches found
No related tags found
No related merge requests found
...@@ -6,17 +6,17 @@ FROM gcc:latest ...@@ -6,17 +6,17 @@ FROM gcc:latest
ENV BUILD /build ENV BUILD /build
ENV OPT /opt ENV OPT /opt
# last checked for updates Nov 14 2016 # last checked for updates Feb 13 2018
ENV ZLIB_VERSION 1.2.11 ENV ZLIB_VERSION 1.2.11
ENV JPEG_VERSION 6b ENV JPEG_VERSION 9c
ENV SZIP_VERSION 2.1 ENV SZIP_VERSION 2.1
ENV HDF4_VERSION 4.2.12 ENV HDF4_VERSION 4.2.13
ENV HDF5_VERSION 1.8.17 ENV HDF5_VERSION 1.10.1
ENV NC4F_VERSION 4.4.4 ENV NC4F_VERSION 4.4.4
ENV NC4C_VERSION 4.4.1 ENV NC4C_VERSION 4.6.0
ENV NCO_VERSION 4.6.1 ENV NCO_VERSION 4.7.2
ENV PYHDF_VERSION 0.9.0 ENV PYHDF_VERSION 0.9.0
ENV NETCDFPY_VERSION 1.2.4rel ENV NETCDFPY_VERSION 1.3.1rel
# grab some packages we need # grab some packages we need
RUN apt-get update && apt-get install -y byacc bison diffutils flex make RUN apt-get update && apt-get install -y byacc bison diffutils flex make
...@@ -40,7 +40,7 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \ ...@@ -40,7 +40,7 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
# add libjpeg # add libjpeg
#RUN apt-get install -y jpeg-devel #RUN apt-get install -y jpeg-devel
RUN mkdir -p ${BUILD} && cd ${BUILD} && \ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
wget -q https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpegsrc.v${JPEG_VERSION}.tar.gz && \ wget -q http://www.ijg.org/files/jpegsrc.v${JPEG_VERSION}.tar.gz && \
tar xzf jpegsrc.v${JPEG_VERSION}.tar.gz && \ tar xzf jpegsrc.v${JPEG_VERSION}.tar.gz && \
cd jpeg-${JPEG_VERSION} && \ cd jpeg-${JPEG_VERSION} && \
./configure && make -j4 && make install && \ ./configure && make -j4 && make install && \
...@@ -72,7 +72,7 @@ RUN mkdir -p ${BUILD} ${OPT}/hdf4 && cd ${BUILD} && \ ...@@ -72,7 +72,7 @@ RUN mkdir -p ${BUILD} ${OPT}/hdf4 && cd ${BUILD} && \
# note - hdf5 post-1.8.11 now includes -ldl as a dependency # note - hdf5 post-1.8.11 now includes -ldl as a dependency
# http://hdf-forum.184993.n3.nabble.com/Errors-compiling-against-Static-build-HDF5-1-8-11-Need-for-ldl-added-to-linker-arguments-td4026300.html # http://hdf-forum.184993.n3.nabble.com/Errors-compiling-against-Static-build-HDF5-1-8-11-Need-for-ldl-added-to-linker-arguments-td4026300.html
RUN mkdir -p ${BUILD} ${OPT}/hdf5 && cd ${BUILD} && \ RUN mkdir -p ${BUILD} ${OPT}/hdf5 && cd ${BUILD} && \
wget -q https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-${HDF5_VERSION}/src/hdf5-${HDF5_VERSION}.tar.gz && \ wget -q https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-${HDF5_VERSION}/src/hdf5-${HDF5_VERSION}.tar.gz && \
tar xzf hdf5-${HDF5_VERSION}.tar.gz && \ tar xzf hdf5-${HDF5_VERSION}.tar.gz && \
cd hdf5-${HDF5_VERSION} && \ cd hdf5-${HDF5_VERSION} && \
./configure --prefix="${OPT}/hdf5" --with-pic --with-zlib="${OPT}/zlib" --enable-cxx --enable-fortran --enable-fortran2003 --with-pthread && make -j4 && make install && \ ./configure --prefix="${OPT}/hdf5" --with-pic --with-zlib="${OPT}/zlib" --enable-cxx --enable-fortran --enable-fortran2003 --with-pthread && make -j4 && make install && \
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment