commit 643f6b7f33f13f8f4f6c5c4c8583169c08f2e866
Author: root <root@webserver>
Date: Wed Jan 07 16:50:33 2026 +0000
diff --git a/Dockerfile b/Dockerfile
index 67baf54..62ea146 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -69 +69 @@ RUN go mod download
COPY . /go/src/matterbridge
-RUN apk --no-cache add git
+RUN apk --no-cache add git gcc musl-dev
RUN cd /go/src/matterbridge && \
- CGO_ENABLED=0 go build -tags goolm -ldflags "-X github.com/matterbridge-org/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
+ CGO_ENABLED=1 go build -tags goolm -ldflags "-X github.com/matterbridge-org/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
FROM alpine
RUN apk --no-cache add ca-certificates mailcap