Update git in gitea images

Change-Id: I6a9be4362ab6c8f35ed949e708ce2f21b495a96d
This commit is contained in:
Clark Boylan 2023-01-18 15:52:55 -08:00
parent ce797a37f6
commit eb823707ab
1 changed files with 13 additions and 0 deletions

View File

@ -76,6 +76,19 @@ 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 \