-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.carta-1.2.1
48 lines (39 loc) · 1.21 KB
/
Dockerfile.carta-1.2.1
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
39
40
41
42
43
44
45
46
47
48
FROM kernsuite/base:5
################################
# install latest masters
################################
RUN echo "deb-src http://ppa.launchpad.net/kernsuite/kern-5/ubuntu bionic main" > /etc/apt/sources.list.d/kernsuite-ubuntu-kern-5-bionic.list
RUN apt-get update
RUN apt-get update
RUN docker-apt-install \
python3 \
python-pip python3-pip python3-virtualenv \
virtualenv \
python3-numpy \
python3-scipy \
libcfitsio-dev \
libboost-python-dev \
wcslib-dev \
git \
nodejs \
phantomjs \
ghostscript \
ipython python3-aplpy python3-astropy \
python3-matplotlib python3-pil python3-casacore \
wget lsof iproute2
RUN ldconfig
# Setup a virtual env
ENV VIRTUAL_ENV=/.radiopadre/venv
RUN virtualenv -p python3 $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip3 install -U pip setuptools
#RUN pip3 install git+https://github.com/ratt-ru/CubiCal
ADD . /radiopadre
ARG CLIENT_BRANCH=b1.0-pre8
ARG CARTA_VERSION=1.2.1
# 1.2.2 has problems in Singularity
RUN git clone -b $CLIENT_BRANCH https://github.com/ratt-ru/radiopadre-client.git
RUN pip3 install -e /radiopadre-client
ENV RADIOPADRE_CARTA_VERSION=$CARTA_VERSION
RUN pip3 install -e /radiopadre
CMD sleep infinity