notification-service (build)
Published 2026-08-29 19:58:02 +00:00 by kubernetes
Installation
docker pull gitea.unbound.se/shiny/notification-service:buildsha256:011a55e7ecdc78b26726a9b3bf102cdf8738726ab4acb9703615feb2fcc973c0
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=493d9987090c2c32fb47241d3627c145d0fcddc8 |
| WORKDIR /build |
| ENV CGO_ENABLED=0 |
| ADD . /build # buildkit |
| RUN |1 CI_COMMIT=493d9987090c2c32fb47241d3627c145d0fcddc8 /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 19:58:02 +00:00
Versions (443)
View all
Container
742
OCI / Docker
linux/amd64
423 MiB
493d9987090c2c32fb47241d3627c145d0fcddc8
2026-08-29
refs_pull_819_head
2026-08-29
build
2026-08-29
modules
2026-08-29
refs_pull_818_head
2026-08-29