# Ubuntu 25.10 (Questing Quokka)
FROM photoprism/develop:251121-questing

# Harden npm usage by default (applies to npm ci / install in dev container)
ENV NPM_CONFIG_IGNORE_SCRIPTS=true

## Alternative Environments:
# FROM photoprism/develop:plucky   # Ubuntu 25.04 (Plucky Puffin)
# FROM photoprism/develop:armv7    # ARMv7 (32bit)
# FROM photoprism/develop:oracular # Ubuntu 24.10 (Oracular Oriole)
# FROM photoprism/develop:noble    # Ubuntu 24.04 LTS (Noble Numbat)
# FROM photoprism/develop:mantic   # Ubuntu 23.10 (Mantic Minotaur)
# FROM photoprism/develop:lunar    # Ubuntu 23.04 (Lunar Lobster)
# FROM photoprism/develop:jammy    # Ubuntu 22.04 LTS (Jammy Jellyfish)
# FROM photoprism/develop:impish   # Ubuntu 21.10 (Impish Indri)
# FROM photoprism/develop:bookworm # Debian 12 (Bookworm)
# FROM photoprism/develop:bullseye # Debian 11 (Bullseye)
# FROM photoprism/develop:buster   # Debian 10 (Buster)

# Set default working directory.
WORKDIR "/go/src/github.com/photoprism/photoprism"

# Copy source to image.
COPY . .
COPY --chown=root:root /scripts/dist/ /scripts/

RUN sudo /scripts/install-yt-dlp.sh
