Compare commits
1 Commits
8069ce91eb
...
d95158092e
| Author | SHA1 | Date | |
|---|---|---|---|
| d95158092e |
@ -16,7 +16,8 @@ ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
COPY resources /app/resources
|
||||
|
||||
# Download the required files
|
||||
RUN spectool -g -R /app/resources/jellyfin-ffmpeg-bin_${PACKAGE_VERSION}.spec && \
|
||||
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} && \
|
||||
spectool -g -R /app/resources/jellyfin-ffmpeg-bin_${PACKAGE_VERSION}.spec && \
|
||||
rpmbuild -ba /app/resources/jellyfin-ffmpeg-bin_${PACKAGE_VERSION}.spec && \
|
||||
cp /root/rpmbuild/RPMS/x86_64/jellyfin-ffmpeg-bin-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.*.rpm /app/dist/ && \
|
||||
cp /root/rpmbuild/SRPMS/jellyfin-ffmpeg-bin-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.*.rpm /app/dist
|
||||
|
||||
@ -16,7 +16,8 @@ ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
COPY resources /app/resources
|
||||
|
||||
# Download the required files
|
||||
RUN dnf install dotnet-sdk-8.0 -y && \
|
||||
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} && \
|
||||
dnf install dotnet-sdk-8.0 -y && \
|
||||
spectool -g -R /app/resources/jellyfin-server_${PACKAGE_VERSION}.spec && \
|
||||
cp /app/resources/fix-envfile-path.patch /root/rpmbuild/SOURCES/fix-envfile-path.patch && \
|
||||
cp /app/resources/tmpfiles.conf /root/rpmbuild/SOURCES/tmpfiles.conf && \
|
||||
|
||||
@ -16,7 +16,8 @@ ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
COPY resources /app/resources
|
||||
|
||||
# Download the required files
|
||||
RUN dnf module enable nodejs:20 -y && \
|
||||
RUN mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} && \
|
||||
dnf module enable nodejs:20 -y && \
|
||||
dnf install nodejs npm -y && \
|
||||
spectool -g -R /app/resources/jellyfin-web_${PACKAGE_VERSION}.spec && \
|
||||
rpmbuild -ba /app/resources/jellyfin-web_${PACKAGE_VERSION}.spec && \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user