mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
15 lines
No EOL
509 B
Docker
15 lines
No EOL
509 B
Docker
FROM fedora:29
|
|
ARG HOME=/build
|
|
RUN mkdir /build && \
|
|
dnf install -y @buildsys-build rpmdevtools dnf-plugins-core && \
|
|
dnf copr enable -y @dotnet-sig/dotnet && \
|
|
rpmdev-setuptree
|
|
|
|
WORKDIR /build/rpmbuild
|
|
COPY ./deployment/fedora-package-x64/pkg-src/jellyfin.spec SPECS
|
|
COPY ./deployment/fedora-package-x64/pkg-src/ SOURCES
|
|
|
|
RUN spectool -g -R SPECS/jellyfin.spec && \
|
|
rpmbuild -bs SPECS/jellyfin.spec && \
|
|
dnf build-dep -y SRPMS/jellyfin-*.src.rpm && \
|
|
rpmbuild -bb SPECS/jellyfin.spec; |