metricator (latest)
Installation
docker pull code.pztrn.name/apps/metricator:latest
sha256:7e46e5f1c8e17dabea4e327df142fbe817a261c1cf4ef03e70a710796e6d3d89
Image Layers
ADD file:8e81116368669ed3dd361bc898d61bff249f524139a239fdaf3ec46869a39921 in / |
CMD ["/bin/sh"] |
/bin/sh -c apk add --no-cache ca-certificates |
/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf |
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV GOLANG_VERSION=1.18.3 |
/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; arch="$(apk --print-arch)"; url=; case "$arch" in 'x86_64') export GOAMD64='v1' GOARCH='amd64' GOOS='linux'; ;; 'armhf') export GOARCH='arm' GOARM='6' GOOS='linux'; ;; 'armv7') export GOARCH='arm' GOARM='7' GOOS='linux'; ;; 'aarch64') export GOARCH='arm64' GOOS='linux'; ;; 'x86') export GO386='softfloat' GOARCH='386' GOOS='linux'; ;; 'ppc64le') export GOARCH='ppc64le' GOOS='linux'; ;; 's390x') export GOARCH='s390x' GOOS='linux'; ;; *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; esac; build=; if [ -z "$url" ]; then build=1; url='https://dl.google.com/go/go1.18.3.src.tar.gz'; sha256='0012386ddcbb5f3350e407c679923811dbd283fcdc421724931614a842ecbc2d'; fi; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url"; echo "$sha256 *go.tgz" | sha256sum -c -; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; gpg --batch --verify go.tgz.asc go.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME" go.tgz.asc; tar -C /usr/local -xzf go.tgz; rm go.tgz; if [ -n "$build" ]; then apk add --no-cache --virtual .build-deps bash gcc go musl-dev ; export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./make.bash; ); apk del --no-network .build-deps; rm -rf /usr/local/go/pkg/*/cmd /usr/local/go/pkg/bootstrap /usr/local/go/pkg/obj /usr/local/go/pkg/tool/*/api /usr/local/go/pkg/tool/*/go_bootstrap /usr/local/go/src/cmd/dist/dist "$GOCACHE" ; fi; apk del --no-network .fetch-deps; go version |
ENV GOPATH=/go |
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" |
WORKDIR /go |
LABEL maintainer=Stanislav N. <pztrn@pztrn.name> |
COPY file:6712cde10663b6d04a7ceb30394574282e77dc20a68a1b914a851690314118fd in /usr/local/bin/metricatord |
COPY file:4ed0af9ee5dbbc67b4b6230ba5b01adc4191e1be1a363fdda5926c6580c7f05f in /usr/local/bin/metricator-client |
/bin/sh -c apk add tzdata |
ENTRYPOINT ["/usr/local/bin/metricatord" "-config" "/config.yaml"] |
LABEL org.opencontainers.image.created=2022-06-30T09:15:12Z |
LABEL org.opencontainers.image.revision=3ebb5b657c3638fc69cf8b587ce51d49d1ce8d0e |
LABEL org.opencontainers.image.source=https://code.pztrn.name/apps/metricator.git |
LABEL org.opencontainers.image.url=https://code.pztrn.name/apps/metricator |
Labels
Key | Value |
---|---|
maintainer | Stanislav N. <pztrn@pztrn.name> |
org.opencontainers.image.created | 2022-06-30T09:15:12Z |
org.opencontainers.image.revision | 3ebb5b657c3638fc69cf8b587ce51d49d1ce8d0e |
org.opencontainers.image.source | https://code.pztrn.name/apps/metricator.git |
org.opencontainers.image.url | https://code.pztrn.name/apps/metricator |
Details
2022-06-30 14:16:28 +05:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
120 MiB