From 6276ccfa0d791a9a74e15ce8b3b0ee3010e13f3f Mon Sep 17 00:00:00 2001 From: Walter Moar Date: Tue, 24 Dec 2024 15:51:25 -0800 Subject: [PATCH] test: FORMS-1682 install the Cypress pre-requisites (#1556) --- .devcontainer/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 333f2d9df..a18f27c42 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,10 +1,11 @@ ARG VARIANT="20.18.1-bookworm" FROM node:${VARIANT} -# not much in here, could acheive this another way for sure... -# but this allows us a prepared place to add other things to the container OS. - RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ + # Cypress prerequisites for running in Debian containers: + # https://docs.cypress.io/app/get-started/install-cypress#UbuntuDebian + libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 \ + libasound2 libxtst6 xauth xvfb \ # For interactive git rebases vim