hivedav

A curlable free/busy scheduler with CalDAV integration
git clone https://git.in0rdr.ch/hivedav.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit f0658ba0c3c78fa883b8c07860428b8203f0d044
parent aeab35834524828b73577b1585f51f3e947f2748
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun, 28 Sep 2025 15:39:17 +0200

feat: add Dockerfile

Diffstat:
ADockerfile | 17+++++++++++++++++
MJenkinsfile | 6++++++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,17 @@ +FROM docker.io/golang:1.24-alpine AS base + +RUN apk update +RUN apk add --no-cache git make g++ musl-dev tzdata + +ENV TZ=Europe/Zurich +WORKDIR /app +COPY . /app +RUN make clean && make + +FROM docker.io/golang:1.24-alpine +COPY --from=base /app/hivedav /usr/local/bin/hivedav +COPY app.env.example /go/app.env + +EXPOSE 3737/tcp + +CMD [ "/usr/local/bin/hivedav" ] diff --git a/Jenkinsfile b/Jenkinsfile @@ -2,6 +2,8 @@ def updatecli = new Updatecli(this) def trivy = new Trivy(this) +def buildahbud = new BuildahBud(this) +def buildahpush = new BuildahPush(this) // https://plugins.jenkins.io/hashicorp-vault-plugin/#user-content-usage-via-jenkinsfile def secrets = [ @@ -20,4 +22,8 @@ node('podman'){ trivy.vuln() trivy.sbom() } + + // build with image context and name + buildahbud.execute([:], '.', 'hivedav', "${env.GIT_COMMIT}") + buildahpush.execute('hivedav', "${env.GIT_COMMIT}") }