-
Notifications
You must be signed in to change notification settings - Fork 53
/
Dockerfile
34 lines (24 loc) · 939 Bytes
/
Dockerfile
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
FROM continuumio/miniconda3
ENV TERM=xterm
ENV TERMINFO=/etc/terminfo
ENV PYTHONDONTWRITEBYTECODE=true
ENV COVERALLS_REPO_TOKEN=7ZpQ0LQWM2PNl5iu7ZndyFEisQnZow8oT
RUN mkdir /code && \
mkdir /code/radvel && \
apt-get --yes update && \
apt-get install --yes gcc git pkg-config libhdf5-hl-100 libhdf5-dev && \
apt-get clean
# RUN conda config --add channels conda-forge && \
# conda config --set channel_priority strict && \
# conda update -n base -c defaults conda
RUN conda install --yes nomkl numpy pybind11 coveralls nose
RUN conda install --yes -c conda-forge celerite && \
conda clean -afy
WORKDIR /code/radvel
ADD requirements.txt /code/radvel/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
ADD . /code/radvel
CMD python setup.py build_ext -i && \
pip install --no-cache-dir --no-deps . && \
nosetests radvel --with-coverage --cover-package=radvel && \
coveralls