Dockerfile 405 Bytes
Newer Older
Martin Reinecke's avatar
Martin Reinecke committed
1
FROM ubuntu:artful
Jait Dixit's avatar
Jait Dixit committed
2
3

# dependencies via apt
Martin Reinecke's avatar
cleanup    
Martin Reinecke committed
4
RUN apt-get update
5
6
7
ADD ci/install_basics.sh /tmp/install_basics.sh
RUN cd /tmp && chmod +x install_basics.sh && ./install_basics.sh

Jait Dixit's avatar
Jait Dixit committed
8
9
10

# python dependencies
ADD ci/requirements.txt /tmp/requirements.txt
11
RUN pip install --upgrade -r /tmp/requirements.txt
Jait Dixit's avatar
Jait Dixit committed
12

13

Jait Dixit's avatar
Jait Dixit committed
14
15
16
17
# copy sources and install nifty
COPY . /tmp/NIFTy
RUN pip install /tmp/NIFTy

18

Jait Dixit's avatar
Jait Dixit committed
19
20
# Cleanup
RUN rm -r /tmp/*