supplier-invoice-service (build)
Published 2026-08-29 20:26:01 +00:00 by kubernetes
Installation
docker pull gitea.unbound.se/shiny/supplier-invoice-service:buildsha256:f2bc304f04b5d8aff6f76b55dd3ea8b86d3e7da6d5b8eb1857e56085322ae3df
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1787529600' |
| 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.27.0 |
| 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=a39cec4b7baeb8ccf7559360fc844c6d671b797f |
| WORKDIR /build |
| ENV CGO_ENABLED=0 |
| ADD . /build # buildkit |
| RUN |1 CI_COMMIT=a39cec4b7baeb8ccf7559360fc844c6d671b797f /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 # buildkit |
Details
2026-08-29 20:26:01 +00:00
Versions (490)
View all
Container
807
OCI / Docker
linux/amd64
426 MiB
refs_pull_533_head
2026-08-29
a39cec4b7baeb8ccf7559360fc844c6d671b797f
2026-08-29
build
2026-08-29
modules
2026-08-29
3c7d527fbaeb9443403f76816b236a01697922a3
2026-08-29