FROM kernsuite/base:6
RUN docker-apt-install \
    casacore-data \
    casacore-dev \
    libboost-python-dev \
    libcasa-python5 \
    libcfitsio-dev \
    wcslib-dev \
    python-dev \
    python-numpy \
    python-setuptools \
    python-six \
    python-pip \
    python-nose 
ADD . /code
WORKDIR /code
RUN pip install -e .
RUN pip install -r tests/requirements.txt
RUN nosetests --with-coverage --verbose --cover-package=casacore
