Install git from Debian stable (#2746)

We were installing it from testing since 83c8908433 because
we needed git > 2.23, but 2.30 is in stable now.
This commit is contained in:
Marco Castelluccio 2022-02-02 15:21:22 +01:00 коммит произвёл GitHub
Родитель aa89b58b2f
Коммит 1b3ac72be3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 1 добавлений и 13 удалений

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

@ -1,17 +1,12 @@
FROM mozilla/bugbug-base:latest
# Activate testing for git
COPY infra/testing.pinning /etc/apt/preferences.d/00testing
RUN echo 'deb http://deb.debian.org/debian testing main non-free contrib' > /etc/apt/sources.list.d/testing.list
ENV PATH="${PATH}:/git-cinnabar"
# git is required by the annotate pipeline.
# libcurl4 is required by git-cinnabar.
# patch is required by the commit classifier script.
RUN apt-get update && \
apt-get install -y --no-install-recommends -o APT::Immediate-Configure=false -t testing git && \
apt-get install -y --no-install-recommends xz-utils curl patch libcurl4 && \
apt-get install -y --no-install-recommends git xz-utils curl patch libcurl4 && \
hg clone -r 534f9ee2ff2b9c12df802fb14f0fed7c16dd5b6c https://hg.mozilla.org/hgcustom/version-control-tools /version-control-tools/ && \
rm -r /version-control-tools/.hg /version-control-tools/ansible /version-control-tools/docs /version-control-tools/testing && \
git clone https://github.com/glandium/git-cinnabar.git /git-cinnabar && \

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

@ -1,7 +0,0 @@
Package: *
Pin: release a=buster
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650