Skip to content
Snippets Groups Projects
Dockerfile 716 B
Newer Older
RUN sudo apt-get update && sudo apt-get install -y git && sudo apt-get clean

COPY lofar-requirements.txt /lofar-requirements.txt
RUN sudo pip3 install -r /lofar-requirements.txt
# install and use ephimerides and geodetic ("measures") tables for casacore
RUN sudo mkdir -p /opt/IERS && sudo chmod a+rwx /opt/IERS
RUN IERS_DIRNAME=IERS-`date +%FT%T` && mkdir -p /opt/IERS/${IERS_DIRNAME} && ln -sfT /opt/IERS/${IERS_DIRNAME} /opt/IERS/current
RUN cd /opt/IERS/current && curl ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar | tar xz
COPY casarc /home/tango/.casarc

ENV TANGO_LOG_PATH=/var/log/tango
RUN sudo mkdir -p /var/log/tango && sudo chmod a+rwx /var/log/tango