bugbug/infra/dockerfile.base

18 строки
610 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 && \
apt-get install -y --no-install-recommends gcc g++ libgomp1 libffi-dev libjemalloc2 zstd && \
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
2020-04-08 04:06:47 +03:00
ENV LD_PRELOAD="libjemalloc.so.2"
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