@@ -9,7 +9,7 @@ WORKDIR /tmp
99RUN curl http://www.iausofa.org/2015_0209_F/sofa_f-20150209_a.tar.gz --output /tmp/sofa.tgz
1010RUN curl ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar --output /tmp/measures.tgz
1111RUN curl ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2 --output /tmp/wcslib.tar.bz2
12- RUN curl https://github.com/casacore/casacore/archive/v3.1.1 .tar.gz -L --output /tmp/casacore.tar.gz
12+ RUN curl https://github.com/casacore/casacore/archive/v3.2.0 .tar.gz -L --output /tmp/casacore.tar.gz
1313RUN curl https://ufpr.dl.sourceforge.net/project/boost/boost/1.70.0/boost_1_70_0.tar.bz2 --output /tmp/boost.tar.bz2
1414
1515RUN mkdir /buid
@@ -18,9 +18,10 @@ WORKDIR /build
1818# how many threads to use for compiling
1919ENV THREADS 4
2020
21- # build wcslib
22- RUN tar jxvf /tmp/wcslib.tar.bz2
23- WORKDIR /build/wcslib-6.2
21+ # build wcslib (latest version)
22+ RUN mkdir /build/wcslib
23+ RUN tar jxvf /tmp/wcslib.tar.bz2 -C /build/wcslib --strip-components=1
24+ WORKDIR /build/wcslib
2425RUN ./configure
2526RUN make -j${THREADS}
2627RUN make install
@@ -55,9 +56,9 @@ RUN /opt/python/cp27-cp27mu/bin/pip install numpy
5556# set up casacore
5657WORKDIR /build
5758RUN tar zxvf /tmp/casacore.tar.gz
58- WORKDIR /build/casacore-3.1.1
59- RUN mkdir -p /build/casacore-3.1.1 /build
60- WORKDIR /build/casacore-3.1.1 /build
59+ WORKDIR /build/casacore-3.2.0
60+ RUN mkdir -p /build/casacore-3.2.0 /build
61+ WORKDIR /build/casacore-3.2.0 /build
6162RUN cmake .. \
6263 -DSOFA_ROOT_DIR=/build \
6364 -DPYTHON2_EXECUTABLE=/opt/python/${TARGET}/bin/python \
0 commit comments