File: Ubuntu18-nogui

package info (click to toggle)
aoflagger 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: cpp: 83,076; python: 10,187; sh: 260; makefile: 178
file content (38 lines) | stat: -rw-r--r-- 866 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM ubuntu:18.04

RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
    apt-get install -y \
    cmake \
    build-essential \
    pkg-config \
    casacore-data casacore-dev \
    libblas-dev liblapack-dev \
    liblua5.3-dev \
    python3 \
    python3-distutils \
    libpython3-dev \
    libboost-date-time-dev libboost-system-dev \
    libcfitsio-dev \
    libfftw3-dev \
    libgsl-dev \
    libhdf5-serial-dev \
    libpng-dev \
    software-properties-common && \
  echo -ne "\n \n"| add-apt-repository ppa:ubuntu-toolchain-r/test && \
  apt-get update -qq && \
  apt-get install -y gcc-11 g++-11 gfortran-11

ENV CC=/usr/bin/gcc-11
ENV CXX=/usr/bin/g++-11

ADD . /src
WORKDIR /src

RUN \
  mkdir /build && \
  cd /build && \
  cmake ../src && \
  make -j`nproc` && \
  make install

RUN cd /build/python && echo "import aoflagger" | python3