mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
Dockerfile: install kmod package
This commit is contained in:
@@ -6,7 +6,7 @@ RUN apt-get update \
|
||||
&& apt-get install -y \
|
||||
libgtk2.0-0 libcanberra-gtk-module libxext-dev libxrender-dev libxtst-dev libxslt-dev dmz-cursor-theme \
|
||||
build-essential cmake git \
|
||||
libglfw3-dev libassimp-dev libxinerama-dev libxcursor-dev mesa-utils mesa-utils-extra \
|
||||
libglfw3-dev libassimp-dev libxinerama-dev libxcursor-dev mesa-utils mesa-utils-extra kmod \
|
||||
wget htop zip unzip nano
|
||||
|
||||
ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tini
|
||||
|
||||
@@ -15,8 +15,6 @@ IMAGE=learnopengl
|
||||
[ -n "$(docker images -q --filter=reference="${IMAGE}")" ] \
|
||||
|| docker build -t ${IMAGE} ${SCRIPT_DIR}
|
||||
|
||||
echo "Info about --gpu https://github.com/mviereck/x11docker#dependencies"
|
||||
|
||||
x11docker \
|
||||
--gpu \
|
||||
--hostdisplay \
|
||||
|
||||
Reference in New Issue
Block a user