Disable CGO for default container

and therefore disable plugin support

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-08-19 17:18:37 +02:00
parent 89de50d035
commit 33f7739b6b
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D

View File

@ -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 \