зеркало из https://github.com/mozilla/bugbug.git
18 строки
610 B
Plaintext
18 строки
610 B
Plaintext
FROM python:3.8.2-slim
|
|
|
|
# Setup dependencies in a cacheable step
|
|
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/*
|
|
|
|
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
|