From 33f7739b6ba887a82b8f3bd88ddf44b5c3ad9a1c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 19 Aug 2021 17:18:37 +0200 Subject: [PATCH] Disable CGO for default container and therefore disable plugin support Signed-off-by: Knut Ahlers --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 30b7dfe..dfc4e5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM golang:alpine as builder COPY . /go/src/github.com/Luzifer/twitch-bot WORKDIR /go/src/github.com/Luzifer/twitch-bot +ENV CGO_ENABLED=0 + RUN set -ex \ && apk add --update git \ && go install \