Switch navidrome Dockerfile to forge mirror for source clones

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-02-15 08:05:02 -08:00
commit edab466986

View file

@ -9,7 +9,7 @@ ARG NAVIDROME_VERSION
RUN apk add --no-cache git
RUN git clone --depth 1 --branch ${NAVIDROME_VERSION} \
https://github.com/navidrome/navidrome.git /app
https://forge.ops.eblu.me/eblume/navidrome.git /app
WORKDIR /app/ui
RUN npm ci
@ -21,7 +21,7 @@ ARG NAVIDROME_VERSION
RUN apk add --no-cache build-base git taglib-dev
RUN git clone --depth 1 --branch ${NAVIDROME_VERSION} \
https://github.com/navidrome/navidrome.git /app
https://forge.ops.eblu.me/eblume/navidrome.git /app
WORKDIR /app
@ -39,6 +39,7 @@ FROM alpine:3.22
LABEL org.opencontainers.image.title=Navidrome
LABEL org.opencontainers.image.description="Navidrome is a self-hosted music server and streamer"
# Points to upstream canonical source, not the forge mirror used for builds
LABEL org.opencontainers.image.source=https://github.com/navidrome/navidrome
RUN apk add --no-cache ca-certificates tzdata taglib ffmpeg