2021-12-19 15:40:11 +00:00
|
|
|
FROM fedora:33 AS sunshine-fedora_33
|
|
|
|
|
2022-04-18 18:53:28 +00:00
|
|
|
# Fedora 33 end of life is November 2021
|
|
|
|
# This file remains for reference only
|
|
|
|
|
2021-12-19 22:47:35 +00:00
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
2021-12-19 16:06:06 +00:00
|
|
|
RUN dnf -y update && \
|
2021-12-19 18:23:06 +00:00
|
|
|
dnf -y group install "Development Tools" && \
|
2021-12-19 20:23:11 +00:00
|
|
|
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 && \
|
2021-12-19 21:03:08 +00:00
|
|
|
dnf -y install \
|
|
|
|
boost-devel \
|
|
|
|
boost-static.x86_64 \
|
|
|
|
cmake \
|
|
|
|
ffmpeg-devel \
|
|
|
|
libevdev-devel \
|
|
|
|
libxcb-devel \
|
|
|
|
libX11-devel \
|
|
|
|
libXfixes-devel \
|
2021-12-19 22:47:35 +00:00
|
|
|
libXrandr-devel \
|
2021-12-19 21:03:08 +00:00
|
|
|
libXtst-devel \
|
|
|
|
openssl-devel \
|
|
|
|
opus-devel \
|
|
|
|
pulseaudio-libs-devel \
|
2022-04-13 03:29:08 +00:00
|
|
|
rpm-build \
|
2021-12-19 19:55:53 +00:00
|
|
|
&& dnf clean all \
|
|
|
|
&& rm -rf /var/cache/yum
|
2021-12-19 15:40:11 +00:00
|
|
|
|
2022-03-15 23:17:22 +00:00
|
|
|
# Entrypoint
|
2021-12-19 15:40:11 +00:00
|
|
|
COPY build-private.sh /root/build.sh
|
2022-04-13 03:29:08 +00:00
|
|
|
ENTRYPOINT ["/root/build.sh", "-rpm"]
|