2021-10-03 16:46:34 +00:00
|
|
|
FROM debian:bullseye AS sunshine-debian
|
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
ARG TZ="Europe/London"
|
|
|
|
|
2021-12-19 19:55:53 +00:00
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
2021-10-03 16:46:34 +00:00
|
|
|
RUN echo deb http://deb.debian.org/debian/ bullseye main contrib non-free | tee /etc/apt/sources.list.d/non-free.list
|
|
|
|
RUN apt-get update -y && \
|
2021-12-19 19:55:53 +00:00
|
|
|
apt-get install -y --no-install-recommends \
|
2021-12-19 19:41:04 +00:00
|
|
|
build-essential \
|
|
|
|
cmake \
|
|
|
|
git \
|
|
|
|
libavdevice-dev \
|
|
|
|
libboost-thread-dev \
|
|
|
|
libboost-filesystem-dev \
|
|
|
|
libboost-log-dev \
|
|
|
|
libcap-dev \
|
|
|
|
libdrm-dev \
|
|
|
|
libevdev-dev \
|
|
|
|
libpulse-dev \
|
|
|
|
libopus-dev \
|
|
|
|
libssl-dev \
|
|
|
|
libwayland-dev \
|
|
|
|
libx11-dev \
|
|
|
|
libxcb-shm0-dev \
|
|
|
|
libxcb-xfixes0-dev \
|
|
|
|
libxcb1-dev \
|
|
|
|
libxfixes-dev \
|
|
|
|
libxrandr-dev \
|
|
|
|
libxtst-dev \
|
|
|
|
nvidia-cuda-dev \
|
|
|
|
nvidia-cuda-toolkit \
|
2021-12-19 19:55:53 +00:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2021-10-03 16:46:34 +00:00
|
|
|
|
|
|
|
COPY build-private.sh /root/build.sh
|
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/root/build.sh"]
|