Dancefinder

dancefetcher (build)

Published 2026-04-10 01:32:12 +00:00 by kubernetes

Installation

docker pull oci.unbound.se/dancefinder/dancefetcher:build
sha256:6e35bd4f271e5a12e259e9f17d8b8c81bdd55e4832b8ee88ea8b3f0aad1a4507

Image Layers

# 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.1
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
ENV CGO_ENABLED=0
ADD . /build # buildkit
RUN /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 /bin/sh -c go fmt ./... # buildkit
RUN /bin/sh -c go vet ./... # buildkit
RUN /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 /bin/bash -c cat coverage.txt.tmp | grep -v testing.go | grep -v -f <(find . -type f | xargs grep -l 'Code generated by github.com/99designs/gqlgen, DO NOT EDIT') > coverage.txt # buildkit
RUN /bin/sh -c go tool cover -html=coverage.txt -o coverage.html # buildkit
RUN /bin/sh -c go tool cover -func=coverage.txt # buildkit
RUN /bin/sh -c rm coverage.txt.tmp # buildkit
RUN /bin/sh -c GOOS=linux GOARCH=amd64 go build -tags prod -a -installsuffix cgo -mod=readonly -o /release/dancefetcher -ldflags '-w -s' ./cmd/dancefetcher/dancefetcher.go # buildkit
Details
Container
2026-04-10 01:32:12 +00:00
158
OCI / Docker
linux/amd64
411 MiB
Versions (78) View all