apcupsd_exporter (sha256:e77b86df4a2e5fe0b4f8d92f08d3f278482c46ba76af7c3536eb9445bb7ec75c)

Published 2026-05-30 13:48:23 +00:00 by twodarek in twodarek/apcupsd_exporter

Installation

docker pull git.hedgewizards.org/twodarek/apcupsd_exporter@sha256:e77b86df4a2e5fe0b4f8d92f08d3f278482c46ba76af7c3536eb9445bb7ec75c
sha256:e77b86df4a2e5fe0b4f8d92f08d3f278482c46ba76af7c3536eb9445bb7ec75c

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1779062400'
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.25.10
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
RUN /bin/sh -c apt-get update -qq && apt-get upgrade -y -qq && apt-get autoremove -y && rm -rf /var/cache/apt/archives /var/lib/apt/lists/* # buildkit
WORKDIR /app
COPY . ./ # buildkit
RUN /bin/sh -c go build -o /app/apcupsd_exporter cmd/apcupsd_exporter/main.go # buildkit
EXPOSE [9162/tcp]
ENTRYPOINT ["/app/entrypoint.sh"]
Details
Container
2026-05-30 13:48:23 +00:00
0
OCI / Docker
linux/amd64
334 MiB
Versions (6) View all