mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
a6921fffad
- Add gen-rpm - Package rpm in CI testing and releases - Remove fedora 33 from testing (end of life) - Update arguments for `build_private.sh` and `build_sunshine.sh` Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
28 lines
870 B
Plaintext
28 lines
870 B
Plaintext
FROM fedora:33 AS sunshine-fedora_33
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
RUN dnf -y update && \
|
|
dnf -y group install "Development Tools" && \
|
|
dnf -y install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && \
|
|
dnf -y install \
|
|
boost-devel \
|
|
boost-static.x86_64 \
|
|
cmake \
|
|
ffmpeg-devel \
|
|
libevdev-devel \
|
|
libxcb-devel \
|
|
libX11-devel \
|
|
libXfixes-devel \
|
|
libXrandr-devel \
|
|
libXtst-devel \
|
|
openssl-devel \
|
|
opus-devel \
|
|
pulseaudio-libs-devel \
|
|
rpm-build \
|
|
&& dnf clean all \
|
|
&& rm -rf /var/cache/yum
|
|
|
|
# Entrypoint
|
|
COPY build-private.sh /root/build.sh
|
|
ENTRYPOINT ["/root/build.sh", "-rpm"]
|