2021-05-03 17:15:21 +00:00
|
|
|
FROM reg.zknt.org/zknt/golang:alpine as builder
|
|
|
|
|
|
|
|
RUN set -xe;\
|
|
|
|
go get tildegit.org/solderpunk/molly-brown
|
|
|
|
|
2021-09-02 18:52:43 +00:00
|
|
|
FROM reg.zknt.org/zknt/alpine:3.14
|
2021-05-03 17:15:21 +00:00
|
|
|
RUN apk add --no-cache gettext
|
|
|
|
COPY --from=builder /go/bin/molly-brown /molly-brown
|
|
|
|
COPY molly.conf /etc/molly.conf.template
|
|
|
|
VOLUME /cert /var/gemini
|
|
|
|
EXPOSE 1965
|
|
|
|
ENTRYPOINT envsubst < /etc/molly.conf.template > /etc/molly.conf; /molly-brown
|