From d74b6687cc217aa5911ea1805d9511571d0935bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Sun, 11 Jun 2023 19:26:27 +0200 Subject: [PATCH] Remove outdated Dockerfile Dockerfile was built for Go 1.12 times. So old now! --- Dockerfile | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 72942fd8..00000000 --- a/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ - -ARG GOLANG_VERSION -FROM golang:${GOLANG_VERSION:-1.12-alpine} as golang -RUN apk add -U curl git bash -WORKDIR /go/src/gotest.tools -ENV CGO_ENABLED=0 \ - PS1="# " \ - GO111MODULE=on - -FROM golang as tools -RUN go get github.com/dnephin/filewatcher@v0.3.2 - -ARG DEP_TAG=v0.4.1 -RUN export GO111MODULE=off; \ - go get -d github.com/golang/dep/cmd/dep && \ - cd /go/src/github.com/golang/dep && \ - git checkout -q "$DEP_TAG" && \ - go build -o /usr/bin/dep ./cmd/dep - -RUN go get gotest.tools/gotestsum@v0.3.3 -RUN wget -O- -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s && \ - mv bin/golangci-lint /go/bin - - -FROM golang as dev -COPY --from=tools /go/bin/filewatcher /usr/bin/filewatcher -COPY --from=tools /usr/bin/dep /usr/bin/dep -COPY --from=tools /go/bin/gotestsum /usr/bin/gotestsum -COPY --from=tools /go/bin/golangci-lint /usr/bin/golangci-lint - - -FROM dev as dev-with-source -COPY . .