Payroll3042
  • Joined on 2026-04-01

geosite-build (latest)

Published 2026-07-27 05:51:16 +03:00 by Payroll3042

Installation

docker pull git.5838.ru/payroll3042/geosite-build:latest
sha256:0d99cdf75660c46d2fd2634fd40ce055fb9a683d5c73214551853b315d3a956a

Image Layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1783900800'
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.12
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 install -y -qq --no-install-recommends cron && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /app
COPY auto-build-push.sh /app/auto-build-push.sh # buildkit
COPY data-custom /app/data-custom # buildkit
RUN /bin/sh -c chmod +x /app/auto-build-push.sh # buildkit
RUN /bin/sh -c echo "10 3 * * * root /app/auto-build-push.sh >> /proc/1/fd/1 2>> /proc/1/fd/2" > /etc/cron.d/geosite-build && chmod 0644 /etc/cron.d/geosite-build && crontab /etc/cron.d/geosite-build # buildkit
CMD ["/bin/sh" "-c" "/app/auto-build-push.sh; cron -f"]
Details
Container
2026-07-27 05:51:16 +03:00
57
OCI / Docker
linux/amd64
299 MiB
Versions (1) View all
latest 2026-07-27