mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Disable CGO when building Docker images
This commit is contained in:
parent
e234b86af6
commit
30288fec8d
3 changed files with 31 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
FROM golang:latest AS build
|
||||
ENV CGO_ENABLED=0
|
||||
ADD . /go/src/app
|
||||
WORKDIR /go/src/app
|
||||
RUN go build \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue