~edwargix/msc-link-bot

ref: e25b21af82913fe31113f3221185bec5b5ccb816 msc-link-bot/contrib/Dockerfile -rw-r--r-- 368 bytes
e25b21af — Sumner Evans Use m.notice instead of m.text 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM alpine AS builder

RUN apk update
RUN apk add go olm-dev g++
RUN go install git.hnitbjorg.xyz/~edwargix/msc-link-bot@latest

FROM alpine

COPY --from=builder /root/go/bin/msc-link-bot /usr/local/bin/msc-link-bot
RUN apk add olm && \
    adduser -h /msclinkbot -S msclinkbot

USER msclinkbot
VOLUME /msclinkbot
WORKDIR /msclinkbot

CMD /usr/local/bin/msc-link-bot