mirror of
https://github.com/zhaarey/apple-music-alac-atmos-downloader.git
synced 2026-01-15 14:22:53 -03:00
Added ffmpeg to final image returned config file
This commit is contained in:
@@ -9,6 +9,14 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
|
|||||||
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /bin/apple-music-dl main.go
|
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /bin/apple-music-dl main.go
|
||||||
|
|
||||||
FROM gpac/ubuntu
|
FROM gpac/ubuntu
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends ffmpeg && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
COPY --from=builder /bin/apple-music-dl /usr/local/bin/apple-music-dl
|
COPY --from=builder /bin/apple-music-dl /usr/local/bin/apple-music-dl
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
COPY config.yaml ./
|
||||||
|
RUN echo 'alac-save-folder: "/downloads/ALAC"' >> config.yaml \
|
||||||
|
&& echo 'atmos-save-folder: "/downloads/Atmos"' >> config.yaml \
|
||||||
|
&& echo 'aac-save-folder: "/downloads/AAC"' >> config.yaml
|
||||||
ENTRYPOINT ["/usr/local/bin/apple-music-dl"]
|
ENTRYPOINT ["/usr/local/bin/apple-music-dl"]
|
||||||
|
|||||||
Reference in New Issue
Block a user