mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +00:00
Disable CGO for default container
and therefore disable plugin support Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
89de50d035
commit
33f7739b6b
1 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue