remove sso plugin as it can not be made persistent when mounting the data dirs
parent
f0aa833931
commit
ed00ec2862
28
Dockerfile
28
Dockerfile
|
@ -33,33 +33,6 @@ RUN git checkout $JELLYFIN_VERSION
|
|||
RUN npm install
|
||||
RUN npm run build:development
|
||||
|
||||
|
||||
FROM docker.io/alpine:3.16 AS builder-sso
|
||||
|
||||
ENV SSO_VERSION=511e5e4f12fbeb6885c125ffd3c7d61b9f9fab36
|
||||
|
||||
RUN apk add --no-cache \
|
||||
dotnet6-sdk\
|
||||
git
|
||||
|
||||
RUN git clone https://github.com/9p4/jellyfin-plugin-sso.git
|
||||
|
||||
WORKDIR /jellyfin-plugin-sso
|
||||
RUN git checkout $SSO_VERSION
|
||||
|
||||
RUN dotnet publish . \
|
||||
--configuration Release \
|
||||
--no-self-contained \
|
||||
--runtime linux-musl-x64 \
|
||||
--output build/ \
|
||||
"-p:DebugSymbols=false;DebugType=none;UseAppHost=true;PublishReadyToRun=true"
|
||||
|
||||
RUN mkdir dist
|
||||
RUN cp build/IdentityModel.OidcClient.dll dist/
|
||||
RUN cp build/IdentityModel.dll dist/
|
||||
RUN cp build/SSO-Auth.dll dist/
|
||||
|
||||
|
||||
FROM docker.io/thallian/alpine-s6:3.16
|
||||
|
||||
RUN addgroup -g 2222 jellyfin
|
||||
|
@ -77,7 +50,6 @@ RUN apk add --no-cache \
|
|||
|
||||
COPY --from=builder-server --chown=jellyfin:jellyfin /jellyfin/dist/jellyfin-server/ /home/jellyfin/server/
|
||||
COPY --from=builder-web --chown=jellyfin:jellyfin /jellyfin-web/dist/ /home/jellyfin/server/jellyfin-web/
|
||||
COPY --from=builder-sso --chown=jellyfin:jellyfin /jellyfin-plugin-sso/dist/ /home/jellyfin/jellyfin/plugins/sso/
|
||||
|
||||
RUN mkdir /home/jellyfin/media/ /home/jellyfin/data
|
||||
RUN chown jellyfin:jellyfin /home/jellyfin/media/ /home/jellyfin/data
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[Jellyfin](https://github.com/jellyfin/jellyfin) server with the jellyfin
|
||||
[web client](https://github.com/jellyfin/jellyfin-web) and the possibilty of saml/oauth
|
||||
login via [jellyfin-plugin-sso](https://github.com/9p4/jellyfin-plugin-sso).
|
||||
[web client](https://github.com/jellyfin/jellyfin-web).
|
||||
|
||||
# Volumes
|
||||
- `/home/jellyfin/media`
|
||||
|
|
Loading…
Reference in New Issue