-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a95325
commit ec79889
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- jellyfin #TODO: remove | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
FROM ubuntu:24.04 | ||
|
||
ARG TARGETARCH | ||
|
||
RUN \ | ||
apt update \ | ||
&& apt install -y \ | ||
gnupg2 \ | ||
curl \ | ||
ca-certificates \ | ||
&& curl -fsSL "https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key" | apt-key add - \ | ||
&& echo "deb [arch=$TARGETARCH] https://repo.jellyfin.org/ubuntu noble main" > /etc/apt/sources.list.d/jellyfin.list \ | ||
&& apt update \ | ||
&& apt install -y \ | ||
jellyfin-server \ | ||
jellyfin-web \ | ||
jellyfin-ffmpeg6 \ | ||
libsqlite3-0 \ | ||
&& apt upgrade -y \ | ||
&& export SUDO_FORCE_REMOVE=yes \ | ||
&& apt remove -y \ | ||
gnupg2 \ | ||
curl \ | ||
&& apt purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ | ||
&& apt autoremove -y \ | ||
&& apt clean \ | ||
&& rm -rf \ | ||
/tmp/* \ | ||
/var/lib/apt/lists/* \ | ||
/var/tmp/ \ | ||
/etc/apt/sources.list.d/jellyfin.list \ | ||
/etc/apt/trusted.gpg \ | ||
/etc/systemd/system/jellyfin.service.d/jellyfin.service.conf \ | ||
&& userdel ubuntu \ | ||
&& useradd \ | ||
--system \ | ||
--no-create-home \ | ||
--uid 1000 \ | ||
nonroot \ | ||
&& rm /etc/adduser.conf \ | ||
&& mkdir /config \ | ||
&& chown 1000 /config | ||
|
||
ENV XDG_CACHE_HOME=/config/cache | ||
USER nonroot | ||
ENTRYPOINT ["/usr/bin/jellyfin", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg", "--webdir=/usr/share/jellyfin/web", "--datadir=/config"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"repository": "jellyfin/jellyfin" | ||
} |