fix depreciated call go get (#40)

* fix depreciated call go get

* it told me add go mod tidy
This commit is contained in:
Kevin Halpin 2022-03-20 18:04:28 -06:00 committed by GitHub
parent 8491708366
commit 4fd68bb874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,15 @@
FROM golang:alpine as build FROM golang:alpine as build
ENV GOOS=linux \ ENV GOOS=linux \
GOARCH=amd64 GOARCH=amd64
RUN apk add --no-cache git RUN apk add --no-cache git
WORKDIR /go/src/transmission-telegram WORKDIR /go/src/transmission-telegram
COPY . . COPY . .
RUN go mod init transmission-telegram
RUN go mod tidy
RUN go get -d -v ./... RUN go get -d -v ./...
RUN go install -v ./... RUN go install -v ./...