Commit Graph

15 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
Uruk
f3b882d0e2 Fix build and changed debian to bookworm 2023-11-16 00:43:37 +01:00
renovate[bot]
08a43d8039
chore(deps): update mcr.microsoft.com/dotnet/sdk docker tag to v7 (#8686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 17:56:01 +01: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
Cody Robibero
4fc3de9b75
Fix builds for dotnet6 (#6595)
* Target net6.0

* Use new Enum.TryParse(ReadOnlySpan<char>) overload

* Replace RNGCryptoServiceProvider with RandomNumberGenerator

* ci - target net6.0 (#6594)

* Update deployment for dotnet6

* Use generic 6.0.x preview for CI

* Update direct dotnet download links

Co-authored-by: Bond_009 <bond.009@outlook.com>
2021-09-25 06:21:48 -06:00
Cody Robibero
be3c65d80f
Merge branch 'master' into docker-pls 2020-11-16 17:07:06 -07:00
crobibero
1d96167e8d Fix builders 2020-11-16 17:05:31 -07:00
crobibero
e2e10e672f User buster-slim instead of non existent buster 2020-11-15 21:08:02 -07:00
crobibero
185fac0677 Upgrade all netcore3.1 to net5.0 2020-11-15 13:31:47 -07: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
4bfb4c9095 Remove as builder element as well 2020-06-19 17:46:58 -04:00
Joshua M. Boniface
d8428b0a0a Move ARGs for directories to after import 2020-06-19 17:44:04 -04:00
Joshua M. Boniface
ddc7b399a6 Add mkdir of the SOURCE_DIR before setting WORKDIR 2020-06-19 17:41:20 -04:00
Joshua M. Boniface
5a1971c280 Add builder docker images 2020-06-19 17:17:44 -04:00