default-request-adder (build)
Published 2026-04-15 08:38:56 +00:00 by kubernetes
Installation
docker pull gitea.unbound.se/unboundsoftware/default-request-adder:buildsha256:0f36e3d529c5488fb1a15c86e4a2426f95e798d66c1f8aed7aaa208c14b08bcf
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 4a284c44f3 | linux/amd64 | 308 MiB |
| 5d88c03e20 | linux/arm64 | 300 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'trixie' '@1775433600' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; dpkgArch="$(dpkg --print-architecture)"; if [ "$dpkgArch" = 'arm64' ]; then apt-get install -y --no-install-recommends binutils-gold; fi; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.26.2 |
| ENV GOTOOLCHAIN=local |
| ENV GOPATH=/go |
| ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY /target/ / # buildkit |
| RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit |
| WORKDIR /go |
| WORKDIR /build |
| ADD go.* /build # buildkit |
| RUN /bin/sh -c go mod download # buildkit |
| ARG TARGETOS=linux |
| ARG TARGETARCH=amd64 |
| ENV CGO_ENABLED=0 |
| ADD . /build # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c if [ $(go mod tidy -v 2>&1 | grep -c unused) != 0 ]; then echo "Unused modules, please run 'go mod tidy'"; exit 1; fi # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c go fmt ./... # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c go vet ./... # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt.tmp -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./... # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/bash -c cat coverage.txt.tmp | grep -v -f <(find . -type f | xargs grep -l 'Code generated') > coverage.txt # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c go tool cover -html=coverage.txt -o coverage.html # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c go tool cover -func=coverage.txt # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c rm coverage.txt.tmp # buildkit |
| RUN |2 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -mod=readonly -o release/default-request-adder -ldflags '-w -s' # buildkit |
Details
2026-04-15 08:38:56 +00:00
Versions (170)
View all
Container
396
OCI / Docker
5a6cba21d6c78c14e5816a031d4f513ae4e754b6
2026-04-15
refs_pull_280_head
2026-04-15
build
2026-04-15
latest
2026-04-15
2378bbc316d79a3f50c69a1f2bc3ad1cc1a13de5
2026-04-15