2023-02-22 13:02:34 +00:00
|
|
|
FROM golang:1.20
|
2020-01-31 19:08:03 +00:00
|
|
|
|
2020-01-31 19:35:07 +00:00
|
|
|
RUN apt-get update && apt-get install -y \
|
2022-03-31 13:21:18 +00:00
|
|
|
rsync libssl-dev postgresql sudo redis-server \
|
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
|