update
continuous-integration/drone/push Build is failing Details

master
icechen 2021-12-28 16:25:52 +08:00
parent 184fe7a699
commit 1e1148b071
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ WORKDIR /go/src
ADD . . ADD . .
RUN go mod tidy RUN go mod tidy
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o api_example_api ./app/api/example_api RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o api_example_api ./app/api/example_api
FROM alpine as brahma-api FROM alpine as brahma-api
WORKDIR /go/src WORKDIR /go/src
#LABEL maintainer "The Prometheus Authors <prometheus-developers@googlegroups.com>" #LABEL maintainer "The Prometheus Authors <prometheus-developers@googlegroups.com>"