-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
45 lines (38 loc) · 1.17 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
FROM ubuntu:18.04
# Prepare environment
RUN apt-get update -qq && \
apt-get install -qq -y --no-install-recommends \
apt-utils \
autoconf \
build-essential \
bzip2 \
ca-certificates \
curl \
git \
libtool \
lsb-release \
netbase \
pkg-config \
unzip \
xvfb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV DEBIAN_FRONTEND="noninteractive" \
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8"
# PyMVPA
RUN apt-get update -qq && \
apt-get install -qq -y --no-install-recommends python2.7 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update -qq && \
mkdir /dev/fuse && \
chmod 777 /dev/fuse && \
apt-get install -qq -y --no-install-recommends \
python-mvpa2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir -p /code
COPY run.py /code/run.py
COPY version /version
ENTRYPOINT ["/code/run.py"]