Commit Graph

31 Commits

Author SHA1 Message Date
Gauvino a884b1f786
Refactor Dockerfile and build (#10603)
* Fix fedora

* Fix RID Linux

* Fix package and image versions

* Fix buildling and optimize docker images
```

* Removed find obj

* Changed curl command and added gpg

* Added to Contributors

* Removed apt-transport-https package

* Removed RASPI

* Update Intel drivers version

* Update Dockerfile for CentOS, Fedora, and portable deployments

 - Changed Jammy docker image to Built-in Jammy Microsoft .NET SDK image
 - Switched from using "Yum" to "Dnf" for CentOS and Fedora
 - Added "dnf clean all" and "rm -rf /var/cache/dnf" to the end of CentOS and Fedora Dockerfiles
 - Added "apt-get clean", "apt-get autoremove", "rm -rf /var/lib/apt/lists/*" to the end of the Debian/Ubuntu Dockerfiles
 - Added ${DOTNET_VERSION} in every Dockerfile except CentOS/Fedora
 - Removed previous warning comment for dotnet publish build in parallel
 - Arranged package installation

* Re-arranged Dockerfile package installation

* Re-align

* Remove curl

* Remove curl
2024-01-17 18:11:03 -07:00
FantasyGmm 7e46d6bcc7
fix debian/ubuntu arm64 build error,runtime argument missing 2023-08-22 11:44:43 +08:00
Joshua M. Boniface c7edf8b565 Backport pull request #8257 from jellyfin/release-10.8.z
Use separate args for dotnet publish commands

Original-merge: d260f30810

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-13 21:46:36 -04:00
Cédric Bellegarde 46665168a7 debian: Add maxcpucount option to override_dh_auto_build. Fix #5234 2021-06-21 11:39:51 +02:00
crobibero 583f47ea28 Remove GenerateDocumentationFile 2020-09-04 07:04:06 -06:00
crobibero 44fb76bbcf include xml docs when publishing 2020-08-29 10:42:12 -06:00
Joshua M. Boniface 93d1256a4c Remove web building, rename, bump version 2020-03-23 14:46:16 -04:00
Joshua M. Boniface 8b620ed26a Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
Erwin de Haan 399a079dd4 Build scripts and build system consolidation.
Squashed commit.
2019-01-10 19:45:30 +01:00
Joshua Boniface 022955d9ac Move the .NET Runtime flag into a variable 2018-12-28 10:25:19 -05:00
Andrew Rabert b369fbd05e Remove redundant solution specification 2018-12-16 00:43:38 -05:00
Joshua M. Boniface a73d255f51 Enable self-contained binary mode (#160)
* Build self-contained Debian linux-x64 binary

* Update initscripts to use self-contained binary

The binary is declared in the units intentionally rather than using
the variable extrapolation from before, to avoid confusion since
these can't really be moved reasonably.

* With combined binary name, use pgrep instead

* Remove dotnet-runtime dependency

* Move the compiled scb to usr/bin

* Update binary location for upstart/systemd

* Move binary path; fix pidfile handling

* Entirely remove the temporary usr/ dir

* Don't move the compiled binary

* Create /usr/bin symlink

* Use the variable here

* Update architecture to any

* Add libcurl4-openssl build dependency

* Update the build Dockerfile to install builddeps
2018-12-14 21:21:48 -05:00
Joshua Boniface 2f7be76626 Add maxcpucount to dotnet clean
Fixes #120 as per https://github.com/dotnet/sdk/issues/2526
2018-12-13 09:46:25 -05:00
Joshua Boniface 401c08ebae Turn off dotnet build 2018-12-12 19:27:32 -05:00
Andrew Rabert b5dfdc1efb Merge pull request #83 from nvllsvm/dockdeb
Add Dockerfile for building Debian package
2018-12-12 12:14:31 -05:00
Joshua Boniface 7f60643891 Disable telemetry in Debian builds 2018-12-12 10:00:32 -05:00
Andrew Rabert 9b6bb38532 Remove submodule update from Debian build
Packinging should not maniuplate one's source code like this.
2018-12-12 01:09:42 -05:00
Andrew Rabert 0a3e7eae08 Consolidate git submodule commands 2018-12-10 00:35:53 -05:00
Joshua Boniface a9a798f81a Rename numerous debian control elements
Replace the name emby/emby-server with jellyfin everywhere.
2018-12-09 19:05:33 -05:00
Joshua M. Boniface 3557b90f10 Revert "Debian packaging improvements" 2018-12-09 18:45:08 -05:00
Joshua Boniface 8fcec19936 Rename numerous debian control elements
Replace the name emby/emby-server with jellyfin everywhere.
2018-12-09 16:51:38 -05:00
Vasily 6757475311 Now build produces seeminly workable debian package 2018-10-23 00:40:43 +03:00
Vasily b2305295af Improved package clean, removed not needed binary blobs 2018-10-22 18:51:41 +03:00
Vasily 65b69eb941 Fixed debian packaging for netcore, fixed package version 2018-10-22 03:47:12 +03:00
Vasily 46ba3e3549 Small fixes, trying to get this to build 2018-10-22 03:25:50 +03:00
Joshua Boniface 0b64fb771f Modify debian build files to support .NET core 2018-10-22 02:51:22 +03:00
Joshua Boniface 951d240802 Remove some unneeded auto_build steps 2018-10-22 01:58:26 +03:00
Joshua Boniface 32e2b56839 Remove dependency on libembysqlite3, using normal sqlite3 instead 2018-10-22 01:58:26 +03:00
Joshua Boniface 9583e960fd Properly ignore the ntdll.dll dependency 2018-10-22 01:58:26 +03:00
Joshua Boniface 4166d88748 Use msbuild instead of xbuild due to deprecation 2018-10-22 01:58:26 +03:00
Joshua Boniface c0953e51b5 Add patches and debian build information for emby-server 2018-10-22 01:56:13 +03:00