File: py3_casacore_master.docker

package info (click to toggle)
python-casacore 3.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,492 kB
  • sloc: python: 4,170; cpp: 1,549; makefile: 68
file content (21 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:latest
RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
    build-essential \
    casacore-dev \
    git \
    libboost-python-dev \
    libcfitsio-dev \
    liblapack-dev \
    python3-dev \
    python3-venv \
    wcslib-dev
ADD . /src
WORKDIR /src
RUN python3 -m venv venv && \
    . venv/bin/activate && \
    pip install 'numpy<2' && \
    pip install . && \
    cd tests && \
    pip install -r requirements.txt && \
    pytest --cov-report term --cov=casacore