summaryrefslogtreecommitdiffstats
path: root/tgs.Dockerfile
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-05-03 23:47:36 +0200
committerGitHub <noreply@github.com>2021-05-03 23:47:36 +0200
commitaf543dcd05cfb5341311e2e214727e26411d2f92 (patch)
treeb4df21874c158627155169f906aaf910f76abe9a /tgs.Dockerfile
parentaf77109a47a757c33e3dd60053f3b47de59bf829 (diff)
downloadmatterbridge-msglm-af543dcd05cfb5341311e2e214727e26411d2f92.tar.gz
matterbridge-msglm-af543dcd05cfb5341311e2e214727e26411d2f92.tar.bz2
matterbridge-msglm-af543dcd05cfb5341311e2e214727e26411d2f92.zip
Follow up to 536823ce5559b92a3224061b72bcda6010abea17 for the tgs.Dockerfile (#1448)
Diffstat (limited to 'tgs.Dockerfile')
-rw-r--r--tgs.Dockerfile10
1 files changed, 3 insertions, 7 deletions
diff --git a/tgs.Dockerfile b/tgs.Dockerfile
index 06bbb341..f39b8218 100644
--- a/tgs.Dockerfile
+++ b/tgs.Dockerfile
@@ -1,15 +1,11 @@
FROM alpine AS builder
-COPY . /go/src/github.com/42wim/matterbridge
+COPY . /go/src/matterbridge
RUN apk add \
go \
git \
- gcc \
- musl-dev \
- && cd /go/src/github.com/42wim/matterbridge \
- && export GOPATH=/go \
- && go get \
- && go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
+ && cd /go/src/matterbridge \
+ && 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 \