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