08f60a14d17bc85868e54bb28b14f94440ac707e
api-go
Golang API that is the backbone for daily usage, while python works in batches and is heavy in compute while Golang handles concurrent usage cheap
Checks
make check
Runs go vet ./..., go test -count=1 ./..., and go build ./.... The same
target runs in Gitea Actions on every push and pull request
(.gitea/workflows/ci.yml).
Container
The image is a multi-stage build. The runtime is
gcr.io/distroless/static-debian12:nonroot and runs as numeric
UID/GID 65532:65532 (USER 65532:65532 in the Dockerfile).
Use the same numbers in Kubernetes:
securityContext:
runAsUser: 65532
runAsGroup: 65532
runAsNonRoot: true
Do not use named users such as nonroot in a securityContext: the kubelet
cannot verify a non-numeric image user.
Description
Golang API that is the backbone for daily usage, while python works in batches and is heavy in compute while Golang handles concurrent usage cheap
446 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
88.5%
Shell
10.8%
Dockerfile
0.4%
Makefile
0.3%