Compare commits
No commits in common. "cea1ae23ac0e27dc35a497f437b33053012a1a10" and "618a6771644bfec0a51971eccaddaf14a0ae3d45" have entirely different histories.
cea1ae23ac
...
618a677164
@ -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 ./
|
ADD go.mod go.sum ./
|
||||||
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