From b312ff1b7649e49fbd1476339922781914f91fc6 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Mon, 16 Sep 2024 18:53:10 +0530 Subject: [PATCH] fix(docker): install only chrome with playwright --- docker/gitpod-fcc/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/gitpod-fcc/Dockerfile b/docker/gitpod-fcc/Dockerfile index ff863a50..6101adeb 100644 --- a/docker/gitpod-fcc/Dockerfile +++ b/docker/gitpod-fcc/Dockerfile @@ -4,6 +4,7 @@ LABEL org.opencontainers.image.source=https://github.com/freecodecamp/infra LABEL org.opencontainers.image.description="A Gitpod image for the freeCodeCamp.org main repo." LABEL org.opencontainers.image.licenses=BSD-3-Clause +# Install dependencies using Gitpod's install-packages script RUN sudo install-packages \ # Core system libraries ca-certificates libc6 libgcc1 libstdc++6 \ @@ -31,4 +32,4 @@ RUN bash -c 'VERSION="20" \ RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix -RUN npx -y playwright install +RUN npx -y playwright install --with-deps chromium