🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
feat: upgrade ffmpeg in docker image
Deluan99b1dc142105
diff --git a/Dockerfile b/Dockerfileindex 1168e390b..3535e5171 100644--- a/Dockerfile+++ b/Dockerfile@@ -18,8 +18,7 @@ RUN apk add -U --no-cache build-base gitRUN go get -u github.com/go-bindata/go-bindata/...# Download and unpack static ffmpeg-ARG FFMPEG_VERSION=4.1.4-ARG FFMPEG_URL=https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-${FFMPEG_VERSION}-amd64-static.tar.xz+ARG FFMPEG_URL=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xzRUN wget -O /tmp/ffmpeg.tar.xz ${FFMPEG_URL}RUN cd /tmp && tar xJf ffmpeg.tar.xz && rm ffmpeg.tar.xz@@ -41,17 +40,23 @@ RUN GIT_SHA=$(git rev-parse --short HEAD) && \######################################################## Build Final Image-FROM alpine+FROM alpine as release+MAINTAINER Deluan Quintao <[email protected]>+COPY --from=gobuilder /src/navidrome /app/COPY --from=gobuilder /tmp/ffmpeg*/ffmpeg /usr/bin/+# Check if ffmpeg runs properly+RUN ffmpeg -buildconf+VOLUME ["/data", "/music"]ENV ND_MUSICFOLDER /musicENV ND_DATAFOLDER /dataENV ND_SCANINTERVAL 1mENV ND_LOGLEVEL infoENV ND_PORT 4533-EXPOSE 4533+EXPOSE 4533WORKDIR /app-CMD "/app/navidrome"++ENTRYPOINT "/app/navidrome"