diff --git a/.config/dictionaries/project.dic b/.config/dictionaries/project.dic index be1184498..ba465b0bb 100644 --- a/.config/dictionaries/project.dic +++ b/.config/dictionaries/project.dic @@ -53,7 +53,15 @@ Kroki kubeconfig lcov ldflags +libasound +libatk +libatspi +libdrm +libgbm libgcc +libnss +libxkbcommon +libxshmfence lintfix markdownlint mattn @@ -110,5 +118,6 @@ wasmtime webkitallowfullscreen WORKDIR xerrors +xvfb zstd -zstdcat +zstdcat \ No newline at end of file diff --git a/earthly/playwright/Earthfile b/earthly/playwright/Earthfile new file mode 100644 index 000000000..2cf96f81e --- /dev/null +++ b/earthly/playwright/Earthfile @@ -0,0 +1,12 @@ +VERSION 0.8 + +SETUP: + FUNCTION + ARG workdir + FROM mcr.microsoft.com/playwright:v1.45.2-jammy + WORKDIR $workdir + + RUN apt-get update && apt-get install -y \ + libnss3 libatk-bridge2.0-0 libdrm-dev libxkbcommon-dev libgbm-dev libasound-dev libatspi2.0-0 libxshmfence-dev postgresql-client xvfb python3.11 python3-pip && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* \ No newline at end of file