Skip to content

Commit

Permalink
Hdf (#41)
Browse files Browse the repository at this point in the history
* HDF download link

* HDF download link
  • Loading branch information
andras86 authored Nov 18, 2016
1 parent b3cf175 commit 95ec0aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ before_script:
- pip install pyomo
- pip install pysam
- pip install matplotlib
- wget https://support.hdfgroup.org/ftp/HDF5/current/bin/linux-centos7-x86_64-gcc485/hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared.tar.gz
- tar xf hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared.tar.gz
- export LD_LIBRARY_PATH=${PWD}/hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/lib:$LD_LIBRARY_PATH
- export HDF5_DIR=${PWD}/hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/
- wget https://support.hdfgroup.org/ftp/HDF5/current18/bin/linux-centos7-x86_64-gcc485/hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared.tar.gz
- tar xf hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared.tar.gz
- export LD_LIBRARY_PATH=${PWD}/hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/lib:$LD_LIBRARY_PATH
- export HDF5_DIR=${PWD}/hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/
- pip install tables
- pip install cython
- pip install pandas
Expand Down
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ RUN apt-get update && apt-get install -y software-properties-common \

#HLA Typing
#OptiType dependecies
RUN curl -O https://support.hdfgroup.org/ftp/HDF5/current/bin/linux-centos7-x86_64-gcc485/hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared.tar.gz \
&& tar -xvf hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared.tar.gz \
&& mv hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/bin/* /usr/local/bin/ \
&& mv hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/lib/* /usr/local/lib/ \
&& mv hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/include/* /usr/local/include/ \
&& mv hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/share/* /usr/local/share/ \
&& rm -rf hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared/ \
&& rm -f hdf5-1.8.17-linux-centos7-x86_64-gcc485-shared.tar.gz
RUN curl -O https://support.hdfgroup.org/ftp/HDF5/current18/bin/linux-centos7-x86_64-gcc485/hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared.tar.gz \
&& tar -xvf hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared.tar.gz \
&& mv hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/bin/* /usr/local/bin/ \
&& mv hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/lib/* /usr/local/lib/ \
&& mv hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/include/* /usr/local/include/ \
&& mv hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/share/* /usr/local/share/ \
&& rm -rf hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared/ \
&& rm -f hdf5-1.8.18-linux-centos7-x86_64-gcc485-shared.tar.gz

ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
ENV HDF5_DIR /usr/local/
Expand Down

0 comments on commit 95ec0aa

Please sign in to comment.