Sunshine/scripts
ReenigneArcher f6fd1f7e84 Update and rename create_package.yml
-Create release on push to master (fails if changelog version matches latest release)
-Move windows package to artifacts folder
-Use re-usable workflow create_release.yml
2022-01-10 21:11:44 -05:00
..
build-container.sh Fix package generation when building with the scripts 2021-10-05 13:53:58 +02:00
build-private.sh Create scripts that handle building from source automatically 2021-10-03 18:46:34 +02:00
build-sunshine.sh Fix package generation when building with the scripts 2021-10-05 13:53:58 +02:00
Dockerfile-debian Remove --no-install-recommends option 2021-12-19 16:02:13 -05:00
Dockerfile-fedora_33 Update Dockerfile-fedora_33 2021-12-19 17:47:35 -05:00
Dockerfile-fedora_35 Update Dockerfile-fedora_35 2021-12-19 18:03:50 -05:00
Dockerfile-ubuntu_18_04 Update Dockerfile-ubuntu_18_04 2021-12-21 19:34:42 -05:00
Dockerfile-ubuntu_20_04 Update and rename create_package.yml 2022-01-10 21:11:44 -05:00
Dockerfile-ubuntu_21_04 Remove --no-install-recommends option 2021-12-19 16:02:13 -05:00
Dockerfile-ubuntu_21_10 Remove --no-install-recommends option 2021-12-19 16:02:13 -05:00
README.md Fix typo in docker build readme 2021-12-17 22:25:22 -05:00

Introduction

Sunshine is a Gamestream host for Moonlight

AppVeyor Build Status Downloads

You may wish to simply build sunshine from source, without bloating your OS with development files. These scripts will create a docker images that have the necessary packages. As a result, removing the development files after you're done is a single command away. These scripts use docker under the hood, as such, they can only be used to compile the Linux version

Requirements

sudo apt install docker

instructions

You'll require one of the following Dockerfiles:

  • Dockerfile-2004 --> Ubuntu 20.04
  • Dockerfile-2104 --> Ubuntu 21.04
  • Dockerfile-debian --> Debian Bullseye

Depending on your system, the build-* scripts may need root privilleges

First, the docker container needs to be created:

cd scripts
./build-container.sh -f Dockerfile-<name>

Then, the sources will be compiled and the debian package generated:

./build-sunshine.sh -p -s ..

You can run build-sunshine -p -s .. again as long as the docker container exists.

git pull
./build-sunshine.sh -p -s ..

Optionally, the docker container can be removed after you're finished:

./build-container.sh -c delete

Finally install the resulting package:

sudo apt install -f sunshine-build/sunshine.deb