diff options
author | Wim <wim@42.be> | 2021-10-17 14:19:26 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2021-10-17 14:19:26 +0200 |
commit | b98d56dcf615c53e2304c4290b14f404a0f58f31 (patch) | |
tree | d98bc2ecb2686c0481f7bed1589f704a88dd8e99 /Dockerfile | |
parent | a3a8a5769d494c9d0149d5b6a3ae1ef5e183e9d5 (diff) | |
download | matterbridge-msglm-b98d56dcf615c53e2304c4290b14f404a0f58f31.tar.gz matterbridge-msglm-b98d56dcf615c53e2304c4290b14f404a0f58f31.tar.bz2 matterbridge-msglm-b98d56dcf615c53e2304c4290b14f404a0f58f31.zip |
Fix docker build
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,9 +1,9 @@ -FROM alpine AS builder +FROM alpine:edge AS builder COPY . /go/src/matterbridge RUN apk --no-cache add go git \ && cd /go/src/matterbridge \ - && go build -mod vendor -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge + && CGO_ENABLED=0 go build -mod vendor -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge FROM alpine RUN apk --no-cache add ca-certificates mailcap |