shad-go/build.docker

11 lines
464 B
Docker
Raw Normal View History

2023-02-22 13:02:34 +00:00
FROM golang:1.20
2020-01-31 19:08:03 +00:00
2023-03-10 11:23:34 +00:00
# enable backports for git-filter-repo
RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list.d/backports.list
2020-01-31 19:35:07 +00:00
RUN apt-get update && apt-get install -y \
2023-03-10 11:23:34 +00:00
rsync libssl-dev postgresql sudo redis-server git-filter-repo/bullseye-backports \
2020-01-31 19:35:07 +00:00
&& rm -rf /var/lib/apt/lists/*
2020-02-14 12:39:06 +00:00
2023-02-22 13:14:39 +00:00
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1