From fb431da06059ce9c3362a78ac08d079dfb3393af Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Fri, 10 Nov 2023 00:18:52 +0000 Subject: [PATCH] Adding to ubuntu some required libraries that cypress need. --- Dockerfile | 7 +++++-- README.md | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d84742..9fa2e2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,11 @@ RUN apt-get -y install vim # set the github runner version ARG RUNNER_VERSION="2.311.0" -# update the base packages and add a non-sudo user -RUN apt-get update -y && apt-get upgrade -y && useradd -m docker && \ +# update the base packages, add a non-sudo user, and install Xvfb +RUN apt-get update -y && \ + apt-get upgrade -y && \ + apt-get install -y xvfb libglib2.0-0 && \ + useradd -m docker && \ echo 'docker ALL=(ALL) NOPASSWD:ALL' | tee -a /etc/sudoers # install python and the packages the your code depends on along with jq so we can parse JSON diff --git a/README.md b/README.md index 2835561..2930a91 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Docker Github Action Runner -## Version 1.0.6 \ No newline at end of file +## Version 1.0.7 \ No newline at end of file