servarr-stack – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | FROM debian:stable-slim |
2 | MAINTAINER Wizardry and Steamworks (wizardry.steamworks@outlook.com) |
||
3 | |||
4 | # update package manager |
||
5 | RUN apt-get update -y && \ |
||
6 | apt-get upgrade -y && \ |
||
7 | apt-get dist-upgrade -y && \ |
||
8 | apt-get -y autoremove && \ |
||
9 | apt-get clean |
||
10 | |||
11 | # unzip required for unpacking Corrade and all the rest are libraries |
||
12 | RUN apt-get install -y \ |
||
13 | coreutils \ |
||
14 | bash \ |
||
15 | unzip \ |
||
16 | curl \ |
||
17 | ca-certificates \ |
||
18 | lsof \ |
||
19 | libsqlite3-dev |
||
20 | |||
21 | # UTF-8 support |
||
22 | RUN apt-get install -y coreutils locales && \ |
||
23 | sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ |
||
24 | locale-gen && \ |
||
25 | dpkg-reconfigure --frontend=noninteractive locales && \ |
||
26 | update-locale LANG=en_US.UTF-8 |
||
27 | |||
28 | # install dotnet |
||
29 | RUN mkdir /tmp/kitchen |
||
30 | WORKDIR /tmp/kitchen |
||
31 | RUN curl -L -o packages-microsoft-prod.deb "https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb" && \ |
||
32 | dpkg -i packages-microsoft-prod.deb && \ |
||
33 | rm packages-microsoft-prod.deb && \ |
||
34 | apt-get update && \ |
||
35 | apt-get install -y dotnet-runtime-9.0 |
||
36 | |||
37 | # install whisparr |
||
38 | WORKDIR /tmp/kitchen |
||
39 | RUN curl -L -o whisparr.tar.gz "https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64" && \ |
||
40 | mkdir -p /opt/whisparr && \ |
||
41 | tar xzf whisparr.tar.gz --directory=/opt/whisparr --strip-components=1 && \ |
||
42 | ls -l /opt/whisparr && \ |
||
43 | rm /tmp/kitchen/whisparr.tar.gz |
||
44 | |||
45 | WORKDIR /tmp |
||
46 | RUN rm -rf /tmp/kitchen |
||
47 | |||
48 | COPY rootfs / |
||
49 | |||
50 | EXPOSE 6969 |
||
51 | |||
52 | RUN chmod +x /usr/local/bin/run |
||
53 | ENTRYPOINT [ "/usr/local/bin/run" ] |