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 COPY . /go/src/github.com/Luzifer/twitch-bot
WORKDIR /go/src/github.com/Luzifer/twitch-bot WORKDIR /go/src/github.com/Luzifer/twitch-bot
ENV CGO_ENABLED=0
RUN set -ex \ RUN set -ex \
&& apk add --update git \ && apk add --update git \
&& go install \ && go install \