Compare commits
No commits in common. "618a6771644bfec0a51971eccaddaf14a0ae3d45" and "cea1ae23ac0e27dc35a497f437b33053012a1a10" have entirely different histories.
618a677164
...
cea1ae23ac
@ -1,7 +1,7 @@
|
|||||||
FROM golang:1.16-alpine AS builder
|
FROM golang:1.16-alpine AS builder
|
||||||
RUN apk update && apk add --no-cache git && apk add -U --no-cache ca-certificates
|
RUN apk update && apk add --no-cache git && apk add -U --no-cache ca-certificates
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
ADD go.mod go.sum ./
|
ADD go.mod ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
ADD . .
|
ADD . .
|
||||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o echoserver .
|
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o echoserver .
|
||||||
|
Loading…
Reference in New Issue
Block a user