forked from MirrorHub/mautrix-whatsapp
Enable CGO in Dockerfile
This commit is contained in:
parent
fbd1ba65ac
commit
0678098d14
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
|
RUN apk add --no-cache git ca-certificates
|
||||||
COPY . /go/src/maunium.net/go/mautrix-whatsapp
|
COPY . /go/src/maunium.net/go/mautrix-whatsapp
|
||||||
WORKDIR /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
|
FROM alpine:latest
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue