bugbug/infra/dockerfile.base

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

FROM python:3.8.2-slim
# Setup dependencies in a cacheable step
2019-04-25 13:20:28 +03:00
COPY requirements.txt /requirements.txt
RUN apt-get update && \
2019-10-15 15:20:09 +03:00
apt-get install -y --no-install-recommends gcc g++ libgomp1 libffi-dev && \
pip install --disable-pip-version-check --quiet --no-cache-dir -r /requirements.txt && \
apt-get purge -y gcc g++ libffi-dev && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
2019-04-25 13:20:28 +03:00
COPY infra/adr_config.toml /root/.config/adr/config.toml
COPY . /tmp/bugbug
RUN pip install --disable-pip-version-check --quiet --no-cache-dir /tmp/bugbug