Weighs the soul of incoming HTTP requests to stop AI crawlers

Explicitely define image sources in Dockerfile (#21)

* Explicitely define image sources

Explicitely refering to docker.io will make the build succeed on software such as podman which does not default to docker.io as the standard image source

* Dockerfiles: use the full legal docker.io/library name just in case

Signed-off-by: Xe Iaso <me@xeiaso.net>

* update CHANGELOG

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Xe Iaso <me@xeiaso.net>

authored by Dennis ten Hoove Xe Iaso and committed by GitHub f41b21b3 d1512a1f

Changed files
+7 -5
docs
+3 -3
Dockerfile
··· 1 - FROM golang:1.24 AS build 1 + FROM docker.io/library/golang:1.24 AS build 2 2 ARG BUILDKIT_SBOM_SCAN_CONTEXT=true BUILDKIT_SBOM_SCAN_STAGE=true 3 3 4 4 WORKDIR /app ··· 10 10 VERSION=$(git describe --tags --always --dirty) \ 11 11 && go build -o /app/bin/anubis -ldflags="-X github.com/TecharoHQ/anubis.Version=${VERSION}" ./cmd/anubis 12 12 13 - FROM debian:bookworm AS runtime 13 + FROM docker.io/library/debian:bookworm AS runtime 14 14 ARG BUILDKIT_SBOM_SCAN_STAGE=true 15 15 RUN apt-get update \ 16 16 && apt-get -y install ca-certificates ··· 20 20 HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/app/bin/anubis", "--healthcheck"] 21 21 CMD ["/app/bin/anubis"] 22 22 23 - LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis" 23 + LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"
+2 -2
docs/Dockerfile
··· 1 - FROM node AS build 1 + FROM docker.io/library/node AS build 2 2 3 3 WORKDIR /app 4 4 COPY . . 5 5 6 6 RUN npm ci && npm run build 7 7 8 - FROM nginx:alpine 8 + FROM docker.io/library/nginx:alpine 9 9 COPY --from=build /app/build /usr/share/nginx/html 10 10 LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"
+2
docs/docs/CHANGELOG.md
··· 11 11 12 12 ## [Unreleased] 13 13 14 + - Docker images now explicitly call `docker.io/library/<thing>` to increase compatibility with Podman et. al 15 + [#21](https://github.com/TecharoHQ/anubis/pull/21) 14 16 - Don't overflow the image when browser windows are small (eg. on phones) 15 17 [#27](https://github.com/TecharoHQ/anubis/pull/27) 16 18 - Lower the default difficulty to 4 from 5