FROM reg.zknt.org/zknt/golang:alpine as builder RUN set -xe;\ go get tildegit.org/solderpunk/molly-brown FROM reg.zknt.org/zknt/alpine:3.14 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