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