2022-03-15 20:20:31 +00:00
|
|
|
FROM golang:1.18
|
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
|
|
|
|
2022-05-10 10:14:30 +00:00
|
|
|
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.0
|
2021-03-18 21:08:54 +00:00
|
|
|
RUN curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
|
|
|
RUN chmod +x /usr/local/bin/docker-compose
|
|
|
|
RUN curl -fsSL https://get.docker.com | sh
|