-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile_testpypi
85 lines (66 loc) · 2.21 KB
/
Dockerfile_testpypi
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Generated by: Neurodocker version 0.7.0+15.ga4940e3.dirty
# Latest release: Neurodocker version 0.7.0
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
# pull request on our GitHub repository:
#
# https://github.com/ReproNim/neurodocker
#
# Timestamp: 2020/12/02 18:33:44 UTC
FROM macatools/macapype_env:v0.3.5.1-spm
USER root
ARG DEBIAN_FRONTEND="noninteractive"
MAINTAINER David Meunier "david.meunier@univ-amu.fr"
######################## Python packages
RUN apt-get update && apt-get install -y git python3-pip libpng-dev libfreetype6-dev libxft-dev libblas-dev liblapack-dev libatlas-base-dev gfortran libxml2-dev libxslt1-dev wget graphviz
RUN apt-get install -y python3-pil python3-pil.imagetk
RUN python3 -m pip install -U pip
RUN python3 -m pip install -U pillow
#RUN pip3 install pillow
#RUN apt-get install libx11-6 libxext6 libxt6 # matlab
RUN pip3 install xvfbwrapper \
psutil \
numpy \
scipy \
matplotlib \
statsmodels \
pandas \
networkx\
mock \
prov \
click \
funcsigs \
pydotplus \
pydot \
rdflib \
pbr \
nibabel==3.2.2 \
packaging \
pytest
RUN pip3 install install \
graphviz \
pybids \
nipype \
nilearn \
scikit-image \
brain-slam \
############################################# install macapype
RUN echo $(which python) && \
echo $(which python3) && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip
RUN pip install --no-deps --index-url https://test.pypi.org/simple/ --pre macapype && python -c "import macapype; print(macapype.__version__)"
############################################# install skullTo3d
RUN echo $(which python) && \
echo $(which python3) && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip
RUN pip install --no-deps --index-url https://test.pypi.org/simple/ --pre skullTo3d && python -c "import skullTo3d; print(skullTo3d.__version__)"
################################################## Finishing
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN rm -rf \
/tmp/hsperfdata* \
/var/*/apt/*/partial \
/var/log/apt/term*