From 960f6ad9cd8e2dde7a458e191cd220d850cae699 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmail.com>
Date: Sat, 24 Feb 2018 16:40:36 +0000
Subject: [PATCH] Update Dockerfile

---
 Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 27d54b2..b143aa9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -47,7 +47,11 @@ RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
     PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.6.4
 
 USER root
-RUN curl -L https://download.qt.io/official_releases/qt/5.9/5.9.4/qt-opensource-linux-x64-5.9.4.run --output qt-opensource-linux-x64-5.9.4.run && \
+RUN export XVFBARGS="-screen 0 1280x1024x24" && \
+    export DISPLAY=:99.0  && \
+    sh -e /etc/init.d/xvfb start  && \
+    sleep 3  && \
+    curl -L https://download.qt.io/official_releases/qt/5.9/5.9.4/qt-opensource-linux-x64-5.9.4.run --output qt-opensource-linux-x64-5.9.4.run && \
     chmod +x qt-opensource-linux-x64-5.9.4.run && \
     ./qt-opensource-linux-x64-5.9.4.run --script ./qt-installer-noninteractive.qs
     
-- 
GitLab