Dockerfile 413 Bytes
Newer Older
Martin Reinecke's avatar
adjust    
Martin Reinecke committed
1
2
#FROM ubuntu:artful
FROM debian:testing-slim
Jait Dixit's avatar
Jait Dixit committed
3
4

# dependencies via apt
Martin Reinecke's avatar
cleanup    
Martin Reinecke committed
5
RUN apt-get update
6
ADD ci/install_basics.sh /tmp/install_basics.sh
Martin Reinecke's avatar
adjust    
Martin Reinecke committed
7
RUN sh /tmp/install_basics.sh
8

Jait Dixit's avatar
Jait Dixit committed
9
10
11

# python dependencies
ADD ci/requirements.txt /tmp/requirements.txt
Martin Reinecke's avatar
adjust    
Martin Reinecke committed
12
RUN pip install --process-dependency-links -r /tmp/requirements.txt
Jait Dixit's avatar
Jait Dixit committed
13

14

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

19

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