-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
47 lines (39 loc) · 1.13 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
# Creates docker container that runs afqbrowser
#
# Example usage: XXX
# docker run --rm -ti \
# -v <aFolderWithAfqMAT>:/flywheel/v0/input \
# -v <emptyOutputFolder>:/flywheel/v0/output \
# scitran/afqbrowser
# Start with an ubuntu image
FROM ubuntu:14.04
MAINTAINER Michael Perry <[email protected]>
# Install packages
RUN apt-get update -qq \
&& apt-get install -y \
git \
python-dev \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
gfortran \
python-numpy \
python-pandas \
python-scipy \
python-pip
# We need to start by upgrading setuptools, or run into https://github.com/yeatmanlab/AFQ-Browser/issues/101
RUN pip install --upgrade setuptools
# Bust the cache to force the next steps:
ENV BUSTCACHE 11
# Install AFQ-Browser from my branch:
RUN pip install git+https://github.com/arokem/AFQ-Browser.git@zip
# Make directory for flywheel spec (v0)
ENV FLYWHEEL /flywheel/v0
RUN mkdir -p ${FLYWHEEL}
WORKDIR ${FLYWHEEL}
# Add manifest
COPY manifest.json ${FLYWHEEL}/manifest.json
# Add run file
COPY run ${FLYWHEEL}/run
# Configure entrypoint
ENTRYPOINT ["/flywheel/v0/run"]