is there any apk package for webhook
Hi, there are no official apk packages, I presume you're asking because you woulid like to run webhook in Docker? If that is the case, please check out almir/docker-webhook
I have a alpine container, inside that i want to install webhook. I am not able to install it directly as there are no apk package. I tried with binary distribution also but no luck
@nkv16786 look further at what @adnanh posted
https://github.com/almir/docker-webhook/blob/master/Dockerfile#L7
Extract the commands from the Docker RUN statement to install manually.
curl -L --silent -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 -o /usr/local/bin/webhook && \
apk del --purge build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /go
Don't forget to set the WEBHOOK_VERSION variable first as per https://github.com/almir/docker-webhook/blob/master/Dockerfile#L5
Most helpful comment
@nkv16786 look further at what @adnanh posted
https://github.com/almir/docker-webhook/blob/master/Dockerfile#L7
Extract the commands from the Docker RUN statement to install manually.
Don't forget to set the WEBHOOK_VERSION variable first as per https://github.com/almir/docker-webhook/blob/master/Dockerfile#L5