mirror of
https://github.com/adnanh/webhook.git
synced 2025-08-01 15:30:30 +00:00
chore: add docker for goreleaser
This commit is contained in:
parent
9e754e8664
commit
ffe22db383
2 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
project_name: hbh
|
||||
project_name: webhook
|
||||
|
||||
builds:
|
||||
- <<: &build_defaults
|
||||
|
|
8
docker/Dockerfile.gorelease
Normal file
8
docker/Dockerfile.gorelease
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM alpine:3.15.0 as certs
|
||||
RUN apk --update add ca-certificates
|
||||
|
||||
FROM scratch
|
||||
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY webhook /usr/bin/webhook
|
||||
EXPOSE 8345/tcp
|
||||
ENTRYPOINT ["/usr/bin/webhook"]
|
Loading…
Add table
Add a link
Reference in a new issue