Skip to content

Commit

Permalink
Merge pull request #4 from ska-sa/build_casacore_32
Browse files Browse the repository at this point in the history
Building latest casacore version (3.2.1) from source
  • Loading branch information
bennahugo committed Jan 14, 2020
2 parents cb9cd25 + 6f8b0b5 commit 6ce3ca3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ RUN docker-apt-install libblitz0-dev python-dev libblas-dev liblapack-dev libqdb
#####################################################################
RUN mkdir /src
WORKDIR /src
RUN wget https://github.com/casacore/casacore/archive/v3.1.1.tar.gz
RUN tar xvf v3.1.1.tar.gz
RUN mkdir casacore-3.1.1/build
WORKDIR /src/casacore-3.1.1/build
RUN wget https://github.com/casacore/casacore/archive/v3.2.1.tar.gz
RUN tar xvf v3.2.1.tar.gz
RUN mkdir casacore-3.2.1/build
WORKDIR /src/casacore-3.2.1/build
RUN cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../
RUN make -j 4
RUN make install
RUN ldconfig
#RUN pip install -U --user --force-reinstall --install-option="--prefix=/usr" pip setuptools wheel
WORKDIR /src
RUN wget https://github.com/casacore/python-casacore/archive/v3.1.1.tar.gz
RUN tar xvf v3.1.1.tar.gz.1
WORKDIR /src/python-casacore-3.1.1
RUN wget https://github.com/casacore/python-casacore/archive/v3.2.0.tar.gz
RUN tar xvf v3.2.0.tar.gz
WORKDIR /src/python-casacore-3.2.0
RUN pip install .
WORKDIR /
RUN python -c "from pyrap.tables import table as tbl"
Expand Down

0 comments on commit 6ce3ca3

Please sign in to comment.