forked from TechEmpower/FrameworkBenchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·22 lines (17 loc) · 787 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:16.04
# One -q produces output suitable for logging (mostly hides
# progress indicators)
RUN apt update -yqq
# WARNING: DONT PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
RUN apt -qqy install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
git-core \
cloc dstat `# Collect resource usage statistics` \
python-dev \
python-pip \
python-software-properties \
libmysqlclient-dev `# Needed for MySQL-python` \
libpq-dev `# Needed for psycopg2`
RUN pip install colorama==0.3.1 requests MySQL-python psycopg2-binary pymongo docker==3.5.0 psutil
ENV PYTHONPATH /FrameworkBenchmarks
ENV FWROOT /FrameworkBenchmarks
ENTRYPOINT ["python", "/FrameworkBenchmarks/toolset/run-tests.py"]