2019-01-08 11:04:52 -07:00
|
|
|
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
|
2019-01-11 15:22:50 -07:00
|
|
|
COPY ./deployment/fedora-package-x64/pkg-src/jellyfin.spec SPECS
|
2019-01-11 17:49:46 -07:00
|
|
|
COPY ./deployment/fedora-package-x64/pkg-src/ SOURCES
|
2019-01-08 11:04:52 -07:00
|
|
|
|
|
|
|
RUN spectool -g -R SPECS/jellyfin.spec && \
|
|
|
|
rpmbuild -bs SPECS/jellyfin.spec && \
|
|
|
|
dnf build-dep -y SRPMS/jellyfin-*.src.rpm && \
|
2019-01-11 15:22:50 -07:00
|
|
|
rpmbuild -bb SPECS/jellyfin.spec;
|