forked from cortex-lab/phy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (28 loc) · 659 Bytes
/
Copy pathDockerfile
File metadata and controls
32 lines (28 loc) · 659 Bytes
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
FROM ubuntu:latest
MAINTAINER Cyrille Rossant "cyrille.rossant at gmail dot com"
RUN apt-get update && apt-get install -y \
wget \
git \
curl \
fontconfig \
mesa-utils \
binutils \
libfontconfig1 \
libsm6 \
libXrender1 \
libfreetype6 \
libglib2.0-0 \
xvfb
# Install miniconda and phy.
RUN wget -qO- http://phy.cortexlab.net/install/latest.sh | bash
# Install test dependencies.
RUN $HOME/miniconda/bin/conda install --yes \
pytest \
flake8 \
requests && \
$HOME/miniconda/bin/pip install --upgrade \
pip \
responses
ENV PATH=$HOME/miniconda/bin:$PATH
ENV DISPLAY=:99.0
WORKDIR $HOME