whois (latest)

Published 2025-01-05 20:37:32 -05:00 by simponic

Installation

docker pull git.simponic.xyz/simponic/whois:latest
sha256:c6b2146d0b880ab083e14002212d3fce92b2eb9c9a836784bc728924ff020e89

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/* # buildkit
ENV GOLANG_VERSION=1.23.4
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 /app
COPY go.mod go.sum ./ # buildkit
RUN /bin/sh -c go mod download # buildkit
COPY . . # buildkit
RUN /bin/sh -c go build -o /app/whois # buildkit
EXPOSE map[8080/tcp:{}]
CMD ["/app/whois" "--server" "--migrate" "--port" "8080" "--template-path" "/app/templates" "--database-path" "/app/db/whois.db" "--static-path" "/app/static" "--scheduler" "--ntfy-topics" "whois" "--ntfy-endpoint" "https://ntfy.simponic.hatecomputers.club" "--ntfy-listener"]

Labels

Key Value
org.opencontainers.image.created 2025-01-06T01:35:59Z
org.opencontainers.image.revision 9b954ac06248e46541d19025ca87f9f043e5e2e2
org.opencontainers.image.source https://git.simponic.xyz/simponic/whois.git
org.opencontainers.image.url https://git.simponic.xyz/simponic/whois
Details
Container
2025-01-05 20:37:32 -05:00
5
OCI / Docker
linux/amd64
329 MiB
Versions (1) View all
latest 2025-01-05