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
...
@@ -32,8 +33,8 @@ RUN cd /build && curl -O https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpeg
...
@@ -32,8 +33,8 @@ RUN cd /build && curl -O https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpeg
RUN cd /build && curl -O https://www.hdfgroup.org/ftp/lib-external/szip/${SZIP_VERSION}/src/szip-${SZIP_VERSION}.tar.gz
RUN cd /build && curl -O https://www.hdfgroup.org/ftp/lib-external/szip/${SZIP_VERSION}/src/szip-${SZIP_VERSION}.tar.gz
RUN cd /build && curl -O http://www.hdfgroup.org/ftp/HDF/releases/HDF${HDF4_VERSION}/src/hdf-${HDF4_VERSION}.tar.gz
RUN cd /build && curl -O http://www.hdfgroup.org/ftp/HDF/releases/HDF${HDF4_VERSION}/src/hdf-${HDF4_VERSION}.tar.gz
RUN cd /build && curl -O http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-${HDF5_VERSION}.tar.gz
RUN cd /build && curl -O http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-${HDF5_VERSION}.tar.gz
RUN cd /build && curl -O ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-${NETCDF4_VERSION}.tar.gz
RUN cd /build && curl -O ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-${NC4C_VERSION}.tar.gz
RUN cd /build && curl -O ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-fortran-${NC4F_VERSION}.tar.gz
# add zlib
# add zlib
RUN cd /build &&tar xzf zlib-${ZLIB_VERSION}.tar.gz &&\
RUN cd /build &&tar xzf zlib-${ZLIB_VERSION}.tar.gz &&\
...
@@ -66,16 +67,24 @@ RUN cd /build && tar xzf hdf5-${HDF5_VERSION}.tar.gz && \
...
@@ -66,16 +67,24 @@ RUN cd /build && tar xzf hdf5-${HDF5_VERSION}.tar.gz && \
cd hdf5-${HDF5_VERSION}&&\
cd hdf5-${HDF5_VERSION}&&\
./configure --prefix="/usr"--disable-shared--with-pic--with-zlib="/usr"--enable-cxx--enable-fortran--enable-fortran2003--with-pthread&& make -j4&& make install
./configure --prefix="/usr"--disable-shared--with-pic--with-zlib="/usr"--enable-cxx--enable-fortran--enable-fortran2003--with-pthread&& make -j4&& make install
# add netcdf
# add netcdf-c
# FIXME: failing with...
RUN cd /build &&tar xzf netcdf-${NC4C_VERSION}.tar.gz &&\
# configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.