mirror of
https://github.com/Xinrea/bili-shadowreplay.git
synced 2025-11-24 20:15:34 +08:00
* chore: add devcontainer config (#175) * refactor: refactor error handling and update dependencies (#176) * docs: update webhook * feat: add webhook module * feat: webhook url settings * feat: update webhook poster instead of recreating * feat: add link for webhook docs * refactor: using relative path for all covers * fix: webhook in headless mode * feat: implement all webhook events * fix: webhook in headless mode * feat: static host cache/output directory * tests: add more tests (#178) * chore: add tests * chore: update * fix: wrong cover type * bump version to 2.12.0 * feat: change default clip bitrate to 6000k --------- Co-authored-by: Sieluna <seele.peng@gmail.com>
37 lines
887 B
Docker
37 lines
887 B
Docker
ARG VARIANT=bookworm-slim
|
|
FROM debian:${VARIANT}
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Arguments
|
|
ARG CONTAINER_USER=vscode
|
|
ARG CONTAINER_GROUP=vscode
|
|
|
|
# Install dependencies
|
|
RUN apt-get update \
|
|
&& apt-get install -y \
|
|
build-essential \
|
|
clang \
|
|
cmake \
|
|
curl \
|
|
file \
|
|
git \
|
|
libayatana-appindicator3-dev \
|
|
librsvg2-dev \
|
|
libssl-dev \
|
|
libwebkit2gtk-4.1-dev \
|
|
libxdo-dev \
|
|
pkg-config \
|
|
wget \
|
|
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
|
|
|
|
# Set users
|
|
RUN adduser --disabled-password --gecos "" ${CONTAINER_USER}
|
|
USER ${CONTAINER_USER}
|
|
WORKDIR /home/${CONTAINER_USER}
|
|
|
|
# Install rustup
|
|
RUN curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
|
|
ENV PATH=${PATH}:/home/${CONTAINER_USER}/.cargo/bin
|
|
|
|
CMD [ "/bin/bash" ]
|