A bot that toots out new Pleroma releases. https://social.bn4t.me/PleromaReleases
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines

  1. FROM golang:alpine as builder
  2. RUN mkdir /build /out && apk add --no-cache git ca-certificates
  3. WORKDIR /build
  4. COPY . .
  5. RUN go get && go build -o /out/pleroma-release-bot
  6. FROM alpine:latest
  7. RUN mkdir /app && addgroup -S pleroma-bot && adduser -S pleroma-bot -G pleroma-bot && apk add --no-cache ca-certificates
  8. COPY --from=builder /out/pleroma-release-bot /app/pleroma-release-bot
  9. USER pleroma-bot
  10. ENTRYPOINT /app/pleroma-release-bot