MeteorLight/Dockerfile
DataHoarder 24e2750cbe
All checks were successful
continuous-integration/drone/push Build is passing
Update Kirika, now ALAC can be decoded
2022-04-21 14:06:35 +02:00

35 lines
1.1 KiB
Docker

FROM golang:1.18-bullseye
WORKDIR /src
RUN DEBIAN_FRONTEND=noninteractive apt update && \
DEBIAN_FRONTEND=noninteractive apt install -y \
git build-essential autoconf automake libtool \
libflac-dev libopus-dev libopusfile-dev libsamplerate0-dev libmp3lame-dev libebur128-dev && \
git clone --depth 1 https://github.com/xiph/libopusenc.git && cd libopusenc && \
./autogen.sh && \
./configure --prefix /usr && \
make && \
make install && \
cd .. && \
git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git && cd fdk-aac && \
./autogen.sh && \
./configure --prefix /usr && \
make -j$(nproc) && \
make install && \
cd .. && \
git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && \
autoreconf -fi && \
./configure --prefix /usr && \
make -j$(nproc) && \
make install && \
cd .. && \
rm -rf /src/libopusenc /src/fdk-aac /src/alac
COPY . /code
WORKDIR /code
RUN go build -v -o /usr/bin/MeteorLight . && rm -rf /code
WORKDIR /
ENTRYPOINT ["/usr/bin/MeteorLight"]