fix depreciated call go get (#40)
* fix depreciated call go get * it told me add go mod tidy
This commit is contained in:
parent
8491708366
commit
4fd68bb874
@ -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 ./...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user