diff --git a/Dockerfile b/Dockerfile index c67514f..8959727 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ RUN curl --create-dirs -fsSLo /usr/share/jenkins/slave.jar https://repo.jenkins- && chmod 644 /usr/share/jenkins/slave.jar # Add Java FX -RUN apt-get update && apt-get install -y --no-install-recommends openjfx && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends openjfx && apt-get install -y xvfb &&rm -rf /var/lib/apt/lists/* # Set password for the jenkins user (you may want to alter this). RUN echo "jenkins:jenkins" | chpasswd