2018-08-16 23:21:55 +03:00
|
|
|
# This Dockerfile supports the bin/test script for local testing.
|
|
|
|
# Make sure any changes here stay in sync with .circleci/config.yml
|
|
|
|
# so local testing and CI are comparable.
|
2017-04-04 22:43:19 +03:00
|
|
|
|
2018-08-16 23:21:55 +03:00
|
|
|
ARG PYTHON_VERSION=3.6
|
|
|
|
FROM python:$PYTHON_VERSION
|
2017-04-04 22:43:19 +03:00
|
|
|
|
2018-08-16 23:21:55 +03:00
|
|
|
RUN apt-get update && apt-get install -y libsnappy-dev openjdk-8-jre-headless
|
|
|
|
RUN pip install tox
|
2018-08-17 17:44:52 +03:00
|
|
|
|
|
|
|
WORKDIR /python_moztelemetry
|
|
|
|
|
|
|
|
# Copy the current directory as is to the workdir;
|
|
|
|
# Relies on the .dockerignore file to prune out large files we don't want to include.
|
|
|
|
COPY . .
|