Shiny

supplier-invoice-service (build)

Published 2026-04-11 01:15:14 +00:00 by kubernetes

Installation

docker pull gitea.unbound.se/shiny/supplier-invoice-service:build
sha256:975d22bc312a8d96598e3e1859b9aa4a9100f826c13bc42feed916d30b445a4a

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.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
ENV GOPRIVATE=gitea.unbound.se/shiny,gitea.unbound.se/unboundsoftware
ADD go.* /build # buildkit
RUN /bin/sh -c go mod download # buildkit
ARG CI_COMMIT=f5afa9e552b08ffafdc49e3c2ff4f4c3aa544f84
WORKDIR /build
ENV CGO_ENABLED=0
ADD . /build # buildkit
RUN |1 CI_COMMIT=f5afa9e552b08ffafdc49e3c2ff4f4c3aa544f84 /bin/sh -c GOOS=linux GOARCH=amd64 go build -tags prod -a -installsuffix cgo -mod=readonly -o /release/service -ldflags "-w -s -X main.buildVersion=${CI_COMMIT}" ./cmd/service/service.go # buildkit
Details
Container
2026-04-11 01:15:14 +00:00
410
OCI / Docker
linux/amd64
416 MiB
Versions (214) View all