1
0
Fork 0
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:
Frédéric Guillot 2023-06-22 20:54:30 -07:00
parent e234b86af6
commit 30288fec8d
3 changed files with 31 additions and 1 deletions

View file

@ -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

View file

@ -1,4 +1,5 @@
FROM golang:latest AS build
ENV CGO_ENABLED=0
ADD . /go/src/app
WORKDIR /go/src/app
RUN go build \