File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN docker-apt-install cmake \
1818 wcslib-dev \
1919 libhdf5-serial-dev \
2020 libfftw3-dev \
21- python -numpy \
21+ python3 -numpy \
2222 libboost-python-dev \
2323 libboost-all-dev \
2424 libpython2.7-dev \
@@ -27,6 +27,38 @@ RUN docker-apt-install cmake \
2727 casacore-dev \
2828 wsclean
2929
30- RUN pip install cult-curgo stimela quartical breizorro
30+ RUN docker-apt-install python3-pip
31+ RUN pip install cult-cargo stimela quartical \
32+ aimfast \
33+ astro-tigger-lsm \
34+ bdsf \
35+ breizorro \
36+ casaconfig \
37+ casadata \
38+ casatasks \
39+ casatools
40+
41+ RUN docker-apt-install \
42+ git \
43+ xvfb \
44+ curl
45+
46+ RUN pip install -U "git+https://github.com/caracal-pipeline/stimela.git"
47+ RUN pip install -U "git+https://github.com/caracal-pipeline/cult-cargo.git"
48+
3149RUN ulimit -p 11000
32- RUN stimela
50+ RUN stimela --help
51+
52+ RUN ln -s /usr/bin/python3 /usr/bin/python
53+ RUN mkdir -p /opt/casa/data
54+ COPY casasiteconfig.py /opt/casa
55+ ENV CASASITECONFIG /opt/casa/casasiteconfig.py
56+ RUN python -m casaconfig --measurespath /opt/casa/data --update-all
57+ RUN python -m casaconfig --measurespath /opt/casa/data --current-data
58+ # point to CASA data
59+ RUN mkdir -p /usr/local/share/data/
60+ RUN ln -s /opt/casa/data /usr/local/share/data/casacore
61+ COPY xvfb.init.d /etc/init.d/xvfb
62+ RUN chmod 755 /etc/init.d/xvfb
63+ RUN chmod 777 /var/run
64+ ENV DISPLAY :99
Original file line number Diff line number Diff line change 1+ import casadata
2+ measurespath = casadata .datapath
3+ measures_auto_update = False
4+ data_auto_update = False
Original file line number Diff line number Diff line change 1+ XVFB =/usr/bin/Xvfb
2+ XVFBARGS =":99 -screen 0 1024x768x24 -fbdir /var/run -ac"
3+ RGS =":99 -screen 0 1024x768x24 -fbdir /var/run -ac"
4+ PIDFILE =/var/run/xvfb.pid
5+ case "$1" in
6+ start)
7+ echo -n "Starting virtual X frame buffer : Xvfb"
8+ start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS
9+ echo "."
10+ ;;
11+ stop)
12+ echo -n "Stopping virtual X frame buffer : Xvfb"
13+ start-stop-daemon --stop --quiet --pidfile $PIDFILE
14+ echo "."
15+ ;;
16+ restart)
17+ $0 stop
18+ $0 start
19+ ;;
20+ *)
21+ echo "Usage : /etc/init.d/xvfb {start|stop|restart}"
22+ exit 1
23+ esac
24+
25+ exit 0
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
12import os
23import sys
34import shlex
You can’t perform that action at this time.
0 commit comments