bugbug/infra/dockerfile.base

14 строки
418 B
Plaintext
Исходник Обычный вид История

2019-04-25 12:15:34 +03:00
FROM python:3.7.3-slim
2019-04-25 13:20:28 +03:00
# Setup dependencies in a cachable step
COPY requirements.txt /requirements.txt
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc g++ libgomp1 && \
pip install --disable-pip-version-check --no-cache-dir -r /requirements.txt && \
2019-04-25 13:20:28 +03:00
apt-get remove -y gcc g++ && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
2019-04-25 13:20:28 +03:00
COPY . /tmp/bugbug
RUN pip install /tmp/bugbug