update to Go 1.18.5
This commit is contained in:
parent
479508fd27
commit
1954109fc9
@ -1,11 +1,11 @@
|
|||||||
FROM golang:1.18.4 AS builder
|
FROM golang:1.18.5 AS builder
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download && go mod verify
|
RUN go mod download && go mod verify
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -buildvcs=false -v -o /usr/local/bin/ ./...
|
RUN go build -buildvcs=false -v -o /usr/local/bin/ ./...
|
||||||
|
|
||||||
FROM golang:1.18.4
|
FROM golang:1.18.5
|
||||||
WORKDIR /usr/local/bin
|
WORKDIR /usr/local/bin
|
||||||
COPY --from=builder /usr/local/bin/backend .
|
COPY --from=builder /usr/local/bin/backend .
|
||||||
COPY .env /usr/local/bin
|
COPY .env /usr/local/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user