Sunshine/scripts/Dockerfile-ubuntu_21_10

40 lines
941 B
Plaintext
Raw Normal View History

2021-12-19 15:40:11 +00:00
FROM ubuntu:21.10 AS sunshine-ubuntu_21_10
# Ubuntu 21.10 end of life is July 2022
ARG DEBIAN_FRONTEND=noninteractive
ARG TZ="Europe/London"
2022-03-15 23:17:06 +00:00
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update -y && \
2021-12-19 21:02:13 +00:00
apt-get install -y \
build-essential \
cmake \
git \
libavdevice-dev \
libboost-filesystem-dev \
libboost-log-dev \
libboost-thread-dev \
2021-12-19 21:02:13 +00:00
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/*
2022-03-15 23:17:06 +00:00
# Entrypoint
COPY build-private.sh /root/build.sh
ENTRYPOINT ["/root/build.sh", "-deb"]