mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-13 17:13:11 +01:00
Enable CGO in Dockerfile
This commit is contained in:
parent
d5aecbb6b4
commit
a496cfa7ef
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue