shad-go/build.docker
2023-03-10 15:23:34 +04:00

10 lines
464 B
Docker

FROM golang:1.20
# 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.51.1