You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
ARG DEBIAN_RELEASE=bullseye
|
|
|
|
|
|
|
|
FROM bitnami/minideb:${DEBIAN_RELEASE} AS builder
|
|
|
|
|
|
|
|
WORKDIR /usr/src
|
|
|
|
COPY mediarepo-api ./mediarepo-api
|
|
|
|
COPY mediarepo-daemon ./mediarepo-daemon
|
|
|
|
COPY mediarepo-ui ./mediarepo-ui
|
|
|
|
COPY scripts ./scripts
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y \
|
|
|
|
build-essential \
|
|
|
|
libssl-dev \
|
|
|
|
libgtk-3-dev \
|
|
|
|
libappindicator3-0.1-cil-dev \
|
|
|
|
patchelf \
|
|
|
|
librsvg2-dev \
|
|
|
|
curl \
|
|
|
|
wget \
|
|
|
|
pkg-config \
|
|
|
|
libavutil-dev \
|
|
|
|
libavformat-dev \
|
|
|
|
libavcodec-dev \
|
|
|
|
libavfilter-dev \
|
|
|
|
libavdevice-dev \
|
|
|
|
clang \
|
|
|
|
nodejs \
|
|
|
|
npm \
|
|
|
|
libsoup2.4-dev \
|
|
|
|
libwebkit2gtk-4.0-dev \
|
|
|
|
file \
|
|
|
|
python
|
|
|
|
|
|
|
|
RUN apt remove cmdtest -y
|
|
|
|
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
|
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
|
|
|
|
RUN python3 scripts/clean.py
|
|
|
|
RUN python3 scripts/check.py --install
|
|
|
|
RUN python3 scripts/build.py all --verbose --ffmpeg
|