FROM golang:1.22 # enable backports for git-filter-repo RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list.d/backports.list RUN apt-get update && apt-get install -y \ rsync libssl-dev postgresql sudo redis-server git-filter-repo/bullseye-backports \ && rm -rf /var/lib/apt/lists/* RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2