commit a1ba02c088f16ba37ea03e15fba1c002a3e9d926
Author: Wim <wim@42.be>
Date: Sun Oct 17 14:19:26 2021 +0000
diff --git a/Dockerfile b/Dockerfile
index 82673d8..8e2dded 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19 +19 @@
-FROM alpine AS builder
+FROM alpine:edge AS builder
COPY . /go/src/matterbridge
RUN apk --no-cache add go git \
- && go build -mod vendor -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
+ && CGO_ENABLED=0 go build -mod vendor -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
FROM alpine
RUN apk --no-cache add ca-certificates mailcap
diff --git a/matterbridge.go b/matterbridge.go
index 18adda5..32476de 100644
--- a/matterbridge.go
+++ b/matterbridge.go
@@ -167 +167 @@ import (
)
var (
- version = "1.22.4-dev"
+ version = "1.23.0-dev"
githash string
flagConfig = flag.String("conf", "matterbridge.toml", "config file")