From d25773fc1c5a0f767d99f61bedecc1e5d22a20fe Mon Sep 17 00:00:00 2001 From: Akhil Mohan Date: Fri, 31 Mar 2023 01:49:17 -0700 Subject: [PATCH] update docker base images and add git-filter-repo - update base image to debian:bullseye - add debian backports and install git-filter-repo from bullseye-backports - update git version as filter repo requires git >=2.24.0 Signed-off-by: Akhil Mohan --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d804c496..e8b2095b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,14 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM debian:stretch +FROM debian:bullseye MAINTAINER Stefan Schimanski +# debian backports are added so that git-filter-repo can be installed +RUN echo deb http://deb.debian.org/debian bullseye-backports main >> /etc/apt/sources.list RUN apt-get update \ - && apt-get install -y -qq git=1:2.11.0-3+deb9u7 \ + && apt-get install -y -qq git=1:2.30.2-1+deb11u2 \ && apt-get install -y -qq mercurial \ - && apt-get install -y -qq ca-certificates curl wget jq vim tmux bsdmainutils tig gcc zip \ + && apt-get install -y -qq ca-certificates curl wget jq vim tmux bsdmainutils tig gcc zip git-filter-repo/bullseye-backports \ && rm -rf /var/lib/apt/lists/* ENV GOPATH="/go-workspace"