10 lines
510 B
Docker
10 lines
510 B
Docker
FROM golang:1.18
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
rsync libssl-dev postgresql sudo redis-server \
|
|
&& 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.45.2
|
|
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
|