Explorar o código

Enable CGO in Dockerfile

Tulir Asokan %!s(int64=6) %!d(string=hai) anos
pai
achega
a496cfa7ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -3,7 +3,7 @@ FROM golang:1-alpine AS builder
 RUN apk add --no-cache git ca-certificates
 COPY . /go/src/maunium.net/go/mautrix-whatsapp
 WORKDIR /go/src/maunium.net/go/mautrix-whatsapp
-RUN CGO_ENABLED=0 go get -u maunium.net/go/mautrix-whatsapp && CGO_ENABLED=0 go build -o /usr/bin/mautrix-whatsapp
+RUN go get -u maunium.net/go/mautrix-whatsapp && go build -o /usr/bin/mautrix-whatsapp
 
 FROM alpine:latest