vim/bundle/deoplete-go/benchmark/Dockerfile

23 lines
464 B
Docker
Raw Permalink Normal View History

2019-05-13 12:28:47 +02:00
FROM ubuntu:xenial
MAINTAINER zchee <k@zchee.io>
COPY ./requirements.txt /python_jsonbench/requirements.txt
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
gcc \
g++ \
git \
python3-dev \
python3-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& pip3 install -U pip setuptools \
&& pip3 install -r /python_jsonbench/requirements.txt
COPY . /python_jsonbench
WORKDIR /python_jsonbench
CMD ["python3", "benchmark.py"]