Add sqlite to teamspeak webhook and add "Backup" to servername

This commit is contained in:
Tobias Reisinger 2025-09-20 16:37:22 +02:00
parent 4dbec53d30
commit 1ddf34690c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 40 additions and 7 deletions

View file

@ -0,0 +1,22 @@
FROM golang:alpine AS builder
ENV WEBHOOK_VERSION 2.8.1
WORKDIR /go/src/github.com/adnanh/webhook
RUN apk add --update --no-cache -t build-deps curl gcc libc-dev libgcc
RUN curl -L -o webhook.tar.gz "https://github.com/adnanh/webhook/archive/${WEBHOOK_VERSION}.tar.gz" && \
tar -xzf webhook.tar.gz --strip 1 && \
go get -d && \
go build -ldflags="-s -w" -o /usr/local/bin/webhook
FROM alpine:3.20.1
RUN apk add --update --no-cache curl jq sqlite
COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
WORKDIR /config
EXPOSE 9000
ENTRYPOINT ["/usr/local/bin/webhook"]
CMD ["-verbose", "-hooks=/config/hooks.yml"]