Skip to content

Commit

Permalink
fix(docker): gitpod - streamline installing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead committed Sep 16, 2024
1 parent b312ff1 commit ff64c8f
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions docker/gitpod-fcc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,6 @@ 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 \
# X11 and graphics libraries
libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 \
libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libgbm1 libgles2 \
# GTK and related libraries
libatk1.0-0 libatk-bridge2.0-0 libappindicator3-1 \
libcairo2 libpango-1.0-0 libpangocairo-1.0-0 \
# Font and text rendering
fonts-liberation libfontconfig1 libharfbuzz-icu0 libwoff1 \
# Audio and video
libvpx7 libopus0 libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
# Miscellaneous libraries
libcups2 libdbus-1-3 libexpat1 libglib2.0-0 libnspr4 \
libenchant-2-2 libsecret-1-0 libhyphen0 libmanette-0.2-0 libflite1 \
# Utilities
lsb-release wget xdg-utils

# from https://www.gitpod.io/docs/introduction/languages/javascript#node-versions
RUN bash -c 'VERSION="20" \
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
Expand All @@ -32,4 +12,4 @@ RUN bash -c 'VERSION="20" \

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

RUN npx -y playwright install --with-deps chromium
RUN pnpm exec playwright install --with-deps chromium

0 comments on commit ff64c8f

Please sign in to comment.