# Photon for Halkyon Train's place search (ADR 0030, D50): its release, checked against # GitHub's SHA-256 of it, on Eclipse Temurin's Java 21, which it needs. Built from the # repository root: # # docker build -f deploy/photon/Dockerfile . # # The same image renews the database (data.sh), so it carries curl and pbzip2. FROM eclipse-temurin:21-jre-noble # Photon 1.3.0, released 7 Aug 2026 (Apache-2.0). ADD --checksum=sha256:a89707c0045e4807b2a1180e132e68e108d998709f48b6c94b98a6e281f571a5 \ https://github.com/komoot/photon/releases/download/1.3.0/photon-1.3.0.jar /app/photon.jar RUN apt-get update \ && apt-get install -y --no-install-recommends curl ca-certificates pbzip2 \ && rm -rf /var/lib/apt/lists/* \ && chmod 644 /app/photon.jar COPY --chmod=755 deploy/photon/serve.sh /app/serve.sh COPY --chmod=755 deploy/photon/data.sh /app/data.sh EXPOSE 2322 CMD ["/app/serve.sh"]