https://github.com/UCBerkeleySETI/turbo_seti
Raw File
Tip revision: bea6d4753b73f07b3cfb55b8a1125d1a513f3884 authored by Emilio Enriquez on 06 June 2019, 23:05:34 UTC
Bumping to version 0.8.2, mainly including a bugfix to seti_event and adding event plotting functionality.
Tip revision: bea6d47
Dockerfile
# To compile this with docker use:
# docker build --tag turbo_seti .
# Then to run it:
# docker run --rm -it turbo_seti
# To be able to access local disk on Mac OSX, you need to use Docker for Mac GUI
# and click on 'File sharing', then add your directory, e.g. /data/bl_pks
# Then to run it:
# docker run --rm -it -v /data/bl_pks:/mnt/data turbo_seti
# And if you want to access a port, you need to do a similar thing:
# docker run --rm -it -p 9876:9876 sigpyproc

# INSTALL BASE FROM KERN SUITE
FROM kernsuite/base:3
ARG DEBIAN_FRONTEND=noninteractive

ENV TERM xterm

######
# Do docker apt-installs
RUN docker-apt-install build-essential python-setuptools python-pip python-tk pkg-config
RUN docker-apt-install curl wget make cmake git
RUN docker-apt-install libomp-dev
RUN docker-apt-install libhdf5-serial-dev libhdf5-dev libhdf5-cpp-11

#####
# Pip installation of python packages
RUN pip install --upgrade pip setuptools wheel
RUN pip install numpy==1.14.1
RUN pip install pandas cython astropy matplotlib
RUN pip install --only-binary=scipy scipy

######
# HDF5 fixup
# Ubuntu 16.04 has a crazy hdf5 setup, needs some massaging, and extra flags to install h5py
RUN ln -s /usr/lib/x86_64-linux-gnu/libhdf5_serial.so /usr/lib/x86_64-linux-gnu/libhdf5.so
RUN ln -s /usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so /usr/lib/x86_64-linux-gnu/libhdf5_hl.so
RUN CFLAGS=-I/usr/include/hdf5/serial pip install h5py==2.5.0
RUN CFLAGS=-I/usr/include/hdf5/serial pip install bitshuffle==0.3.4


# Finally, install!
COPY . .
RUN python setup.py install




back to top