shad-go/build.docker
2022-02-10 22:06:57 +00:00

10 lines
481 B
Docker

FROM golang:1.17
RUN apt-get update && apt-get install -y \
rsync libssl-dev \
&& 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.44.0
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