From bd0516f09ad2b5a21f3bc0c19de1ff3d1dcf9662 Mon Sep 17 00:00:00 2001 From: Sandro Date: Mon, 29 Nov 2021 01:19:10 +0100 Subject: Use Alpine stable again in Dockerfile (#1643) * Use alpine stable again * fix build for tgs.Dockerfile --- tgs.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tgs.Dockerfile') diff --git a/tgs.Dockerfile b/tgs.Dockerfile index 5badc0a7..e093531d 100644 --- a/tgs.Dockerfile +++ b/tgs.Dockerfile @@ -5,7 +5,7 @@ RUN apk add \ go \ git \ && cd /go/src/matterbridge \ - && go build -mod vendor -ldflags "-X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge + && CGO_ENABLED=0 go build -mod vendor -ldflags "-X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge FROM alpine RUN apk --no-cache add \ -- cgit v1.2.3