geohaj (sha256:fe511b2e9a7ecccee76a21ae46a8c60dbc33e5b246aca7472f3385dd862f49cc)

Published 2025-12-29 00:03:45 +00:00 by alyx

Installation

docker pull lavaforge.org/alyx/geohaj@sha256:fe511b2e9a7ecccee76a21ae46a8c60dbc33e5b246aca7472f3385dd862f49cc
sha256:fe511b2e9a7ecccee76a21ae46a8c60dbc33e5b246aca7472f3385dd862f49cc

Image layers

# debian.sh --arch 'amd64' out/ 'stable' '@1765152000'
RUN /bin/sh -c apt update && apt upgrade -y # buildkit
RUN /bin/sh -c apt install -y bind9utils ca-certificates curl # buildkit
COPY /go/src/geohaj/geohaj /app/geohaj # buildkit
RUN /bin/sh -c chmod +x /app/geohaj # buildkit
WORKDIR /app
COPY templates templates # buildkit
RUN /bin/sh -c mkdir /opt/data # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/maxmind/GeoLite2-ASN.mmdb -o /opt/data/GeoLite2-ASN.mmdb # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/maxmind/GeoLite2-City.mmdb -o /opt/data/GeoLite2-City.mmdb # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/maxmind/GeoLite2-Country.mmdb -o /opt/data/GeoLite2-Country.mmdb # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/db-ip/dbip-asn-lite.mmdb -o /opt/data/dbip-asn-lite.mmdb # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/db-ip/dbip-city-lite.mmdb -o /opt/data/dbip-city-lite.mmdb # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/db-ip/dbip-country-lite.mmdb -o /opt/data/dbip-country-lite.mmdb # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/ip2location/IP2LOCATION-LITE-DB9.BIN -o /opt/data/IP2LOCATION-LITE-DB9.BIN # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/ip2location/IP2LOCATION-LITE-DB9.IPV6.BIN -o /opt/data/IP2LOCATION-LITE-DB9.IPV6.BIN # buildkit
RUN /bin/sh -c curl https://mirror.calibour.net/.geoip/ipinfo/ipinfo_lite.mmdb -o /opt/data/ipinfo_lite.mmdb # buildkit
EXPOSE [8080/tcp]
CMD ["/app/geohaj"]

Labels

Key Value
org.opencontainers.image.version
Details
Container
2025-12-29 00:03:45 +00:00
0
OCI / Docker
linux/amd64
259 MiB
Versions (1) View all
latest 2025-12-29