Revert "Update git in gitea images"

This reverts commit eb823707ab.

Upstream Debian has updated git to 2.30.2-1+deb11u1 which patches git
for the issues we manually patched to cover. We don't need the manual
patch anymore and can switch to the distro hence this revert.

Reviewers should double check that the image build process installs the
expected 2.30.2-1+deb11u1 version.

Change-Id: I17fd16a88fbcaa9bbd5d32bfc6d4bb8cdd52ce99
This commit is contained in:
Clark Boylan 2023-01-30 11:10:45 -08:00
parent ef43cea2ff
commit 5435686d5d

View File

@ -76,19 +76,6 @@ RUN apt-get update && apt-get -y install \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Begin temporary git package upgrade
RUN ARCH=`dpkg --print-architecture` \
&& cd /tmp \
&& apt-get update \
&& apt-get -y install wget \
&& wget https://static.opendev.org/project/opendev.org/debs/git/git_2.30.2-1opendev1.0_$ARCH.deb \
&& wget https://static.opendev.org/project/opendev.org/debs/git/git-man_2.30.2-1opendev1.0_all.deb \
&& apt-get -y install /tmp/git_*.deb /tmp/git-man_*.deb \
&& rm -f /tmp/*.deb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# End temporary git package upgrade
RUN addgroup --system --gid 1000 git \
&& adduser \
--system --no-create-home --disabled-login \