Use Alpine stable again in Dockerfile (#1643)
* Use alpine stable again * fix build for tgs.Dockerfile
This commit is contained in:
parent
df4d76e466
commit
bd0516f09a
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:edge AS builder
|
FROM alpine AS builder
|
||||||
|
|
||||||
COPY . /go/src/matterbridge
|
COPY . /go/src/matterbridge
|
||||||
RUN apk --no-cache add go git \
|
RUN apk --no-cache add go git \
|
||||||
|
@ -5,7 +5,7 @@ RUN apk add \
|
|||||||
go \
|
go \
|
||||||
git \
|
git \
|
||||||
&& cd /go/src/matterbridge \
|
&& cd /go/src/matterbridge \
|
||||||
&& go build -mod vendor -ldflags "-X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
|
&& CGO_ENABLED=0 go build -mod vendor -ldflags "-X github.com/42wim/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
|
Loading…
Reference in New Issue
Block a user