File: steamrt.Dockerfile.in

package info (click to toggle)
mangohud 0.6.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,676 kB
  • sloc: cpp: 58,377; ansic: 11,109; sh: 583; python: 518; xml: 34; makefile: 13
file content (24 lines) | stat: -rw-r--r-- 925 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM scratch
ADD com.valvesoftware.SteamRuntime.Sdk-amd64,i386-%RUNTIME%-sysroot.tar.gz /
WORKDIR /build
RUN \
set -e; \
mkdir -p /run/systemd; \
echo 'docker' > /run/systemd/container; \
mkdir -p /prep; cd /prep; \
if [ -f /usr/bin/python3.5 ]; then \
  ln -sf python3.5 /usr/bin/python3; \
  curl https://bootstrap.pypa.io/pip/3.5/get-pip.py -o get-pip.py; \
else \
  curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; \
fi; \
if [ ! -f /usr/bin/unzip ]; then apt-get update; apt-get -y install unzip; fi; \
python3 ./get-pip.py; \
pip3 install meson mako; \
curl -LO http://mirrors.kernel.org/ubuntu/pool/main/n/nvidia-settings/libxnvctrl0_440.64-0ubuntu1_amd64.deb; \
curl -LO http://mirrors.kernel.org/ubuntu/pool/main/n/nvidia-settings/libxnvctrl-dev_440.64-0ubuntu1_amd64.deb; \
dpkg -i libxnvctrl0_440.64-0ubuntu1_amd64.deb libxnvctrl-dev_440.64-0ubuntu1_amd64.deb; \
cd /; rm -fr /prep; \
:

CMD ["/bin/bash"]