Document container build pattern and port navidrome #192
1 changed files with 3 additions and 2 deletions
Switch navidrome Dockerfile to forge mirror for source clones
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
commit
edab466986
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue