mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +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:alpine AS build
|
||||
ENV CGO_ENABLED=0
|
||||
RUN apk add --no-cache --update git
|
||||
ADD . /go/src/app
|
||||
WORKDIR /go/src/app
|
||||
|
|
|
@ -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