geohaj (sha256:6d6bb540b6eff297d1b8f46891fa4832e27a46083630958262f12894c440275a)

Published 2025-11-23 08:12:08 +00:00 by alyx

Installation

docker pull lavaforge.org/alyx/geohaj@sha256:6d6bb540b6eff297d1b8f46891fa4832e27a46083630958262f12894c440275a
sha256:6d6bb540b6eff297d1b8f46891fa4832e27a46083630958262f12894c440275a

Image layers

# debian.sh --arch 'amd64' out/ 'stable' '@1763337600'
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-11-23 08:12:08 +00:00
1
OCI / Docker
linux/amd64
256 MiB
Versions (1) View all
latest 2025-11-23