docker: enabled gpu support

This commit is contained in:
xuveroleg
2018-04-24 16:57:17 +03:00
parent 4c23c8144f
commit c876c7aec8
2 changed files with 12 additions and 4 deletions

View File

@@ -5,8 +5,9 @@ ARG TINI_VERSION='0.18.0'
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 wget htop zip unzip nano \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
build-essential cmake git \
libglfw3-dev libassimp-dev libxinerama-dev libxcursor-dev mesa-utils mesa-utils-extra \
wget htop zip unzip nano
ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tini
RUN chmod +x /tini