https://github.com/UCBerkeleySETI/turbo_seti
Raw File
Tip revision: f51aa50d51c804dd2c032c2a7c1b752600449616 authored by Richard Elkins on 16 July 2021, 19:22:20 UTC
Merge pull request #260 from texadactyl/master
Tip revision: f51aa50
Dockerfile
ARG IMAGE=ubuntu:20.04
FROM ${IMAGE}

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update

COPY . /turboseti
WORKDIR /turboseti

RUN cat dependencies.txt | xargs -n 1 apt install --no-install-recommends -y

RUN python3 -m pip install -U pip
RUN python3 -m pip install git+https://github.com/UCBerkeleySETI/blimpy
RUN python3 -m pip install -r requirements.txt
RUN python3 -m pip install -r requirements_test.txt
RUN python3 setup.py install
RUN cd test && python3 download_test_data.py && cd ..
RUN cd test && bash run_tests.sh && cd ..

RUN find test -name "*.h5" -type f -delete
RUN find test -name "*.log" -type f -delete
RUN find test -name "*.dat" -type f -delete
RUN find test -name "*.fil" -type f -delete
RUN find test -name "*.png" -type f -delete
RUN find . -path '*/__pycache__*' -delete

WORKDIR /home
back to top