File: Dockerfile

package info (click to toggle)
mp3fs 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 888 kB
  • sloc: cpp: 1,884; ansic: 564; sh: 298; makefile: 82
file content (41 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM debian:buster-slim AS base

FROM base AS build

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y --no-install-recommends \
    autoconf \
    automake \
    build-essential \
    ca-certificates \
    curl \
    libflac++-dev \
    libfuse-dev \
    libid3tag0-dev \
    libmp3lame-dev \
    libvorbis-dev \
    pandoc \
    && rm -rf /var/lib/apt/lists/*

ADD . /mp3fs

RUN cd /mp3fs && ./autogen.sh && ./configure && make && make install

FROM base

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y --no-install-recommends \
    fuse \
    libflac++6v5 \
    libid3tag0 \
    libmp3lame0 \
    libvorbisfile3 \
    && rm -rf /var/lib/apt/lists/*

COPY --from=build /usr/local /usr/local

RUN mkdir /music

ENTRYPOINT ["mp3fs", "-d", "/music", "/mnt", "-oallow_other"]