Last active
March 31, 2021 07:39
-
-
Save valkjsaaa/dc130112144992da43210923fd1e0747 to your computer and use it in GitHub Desktop.
bilibili-reocrder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Auto bilibili live recording server | |
# | |
# VERSION 0.0.1 | |
FROM nvidia/cuda:11.0-devel-ubuntu20.04 | |
ENV TZ=Asia/Shanghai | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && apt-get install -y wget git apt-transport-https software-properties-common | |
RUN wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | |
RUN dpkg -i packages-microsoft-prod.deb | |
RUN add-apt-repository universe | |
RUN apt-get update && apt-get install -y dotnet-sdk-3.1 powershell | |
RUN ln -s /usr/bin/pwsh /usr/bin/powershell | |
RUN git clone https://github.com/valkjsaaa/BililiveRecorder.git | |
WORKDIR "/BililiveRecorder" | |
RUN git checkout f0192a16a7b92df652eec40ec2fbd9485f2d9b5c | |
RUN dotnet build -c Release; exit 0 | |
CMD /BililiveRecorder/BililiveRecorder.Cli/bin/Release/netcoreapp3.1/BililiveRecorder.Cli run /storage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment