-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (24 loc) · 773 Bytes
/
Dockerfile
File metadata and controls
29 lines (24 loc) · 773 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
FROM ubuntu:latest
MAINTAINER Yusuke Izawa <yuizalp@gmail.com>
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update -y \
&& apt-get install -y --no-install-recommends \
git-core \
wget \
libffi-dev \
pkg-config \
python-dev \
python-pip \
python-setuptools \
build-essential \
&& apt-get clean
RUN cd /tmp \
&& wget -q -O - https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.7.1-linux64.tar.bz2 | tar jx \
&& ln -s /tmp/pypy2-v5.7.1-linux64/bin/pypy /usr/local/bin/pypy
RUN cd /tmp \
&& wget -q -O - https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.7.1-src.tar.bz2 | tar jx
RUN pip install -U pip \
&& pip install pytest \
&& pip install pytest-cov \
&& pip install flake8 \
&& pip install mock