Last active
August 23, 2021 19:21
-
-
Save paulcarroty/46639ae64543ec50ef195ba2888cd3ef to your computer and use it in GitHub Desktop.
clearlinux-matterbridge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM clearlinux/golang:latest AS builder | |
COPY . /go/src/matterbridge | |
RUN cd /go/src/matterbridge \ | |
&& go build -mod vendor -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge | |
FROM clearlinux:latest | |
RUN swupd bundle-add python-basic && swupd clean --all | |
COPY --from=builder /bin/matterbridge /usr/bin/matterbridge | |
COPY matterbridge.toml /etc/ | |
CMD (cd /tmp && python3 -m http.server $PORT) & matterbridge -conf /etc/matterbridge.toml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment