Dockerfile 780 B

12345678910111213141516171819202122
  1. FROM ubuntu:16.04
  2. # One -q produces output suitable for logging (mostly hides
  3. # progress indicators)
  4. RUN apt update -yqq
  5. # WARNING: DONT PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
  6. RUN apt -qqy install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
  7. git-core \
  8. cloc dstat `# Collect resource usage statistics` \
  9. python-dev \
  10. python-pip \
  11. python-software-properties \
  12. libmysqlclient-dev `# Needed for MySQL-python` \
  13. libpq-dev `# Needed for psycopg2`
  14. RUN pip install colorama==0.3.1 requests MySQL-python psycopg2-binary pymongo docker==3.1.0
  15. ENV PYTHONPATH /FrameworkBenchmarks
  16. ENV FWROOT /FrameworkBenchmarks
  17. ENTRYPOINT ["python", "/FrameworkBenchmarks/toolset/run-tests.py"]