Remove pip from the commit retrieval image (#676)

Fixes #647
This commit is contained in:
Davide Monfrecola 2019-07-09 18:32:57 +02:00 коммит произвёл Marco
Родитель 5c7af453ac
Коммит e7ed31940c
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -2,12 +2,12 @@ FROM mozilla/bugbug-base:latest
# Mercurial need Python2 :(
# git is required by the annotate pipeline.
RUN apt-get update && apt-get install -y python-pip git && rm -rf /var/lib/apt/lists/*
RUN python2 -m pip install --disable-pip-version-check --no-cache-dir mercurial==4.8
# Robustcheckout setup
RUN hg clone -r 6cd994e30bb1 https://hg.mozilla.org/hgcustom/version-control-tools /version-control-tools/
RUN apt-get update && \
apt-get install -y python python-pip git && \
python2 -m pip install --disable-pip-version-check --no-cache-dir mercurial==4.8 && \
hg clone -r 6cd994e30bb1 https://hg.mozilla.org/hgcustom/version-control-tools /version-control-tools/ && \
apt-get purge -y python-pip && apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
COPY infra/hgrc /root/.hgrc