mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-10-31 15:20:13 +00:00
21 lines
841 B
Docker
21 lines
841 B
Docker
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; \
|
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; \
|
|
if [ ! -f /usr/bin/unzip ]; then apt-get update; apt-get -y install unzip; fi; \
|
|
if [ -f /usr/bin/python3.5 ]; then ln -sf python3.5 /usr/bin/python3; 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"]
|