terraform-provider-garage/Dockerfile
Marc 'risson' Schmitt 819de36b09
Initial commit
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@prologin.org>
2022-12-09 00:53:13 +01:00

21 lines
686 B
Docker

FROM golang:1.18
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl ca-certificates gnupg apt-transport-https git software-properties-common
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc make
RUN go get -u golang.org/x/lint/golint
RUN go get -u golang.org/x/tools/...
RUN apt-get update && \
apt-get -y --no-install-recommends install pre-commit
RUN echo "deb [trusted=yes] https://repo.goreleaser.com/apt/ /" > /etc/apt/sources.list.d/goreleaser.list && \
apt-get update && \
apt-get install -y --no-install-recommends goreleaser