feat(gitpod): use custom prebuilt image (#56074)

This commit is contained in:
Mrugesh Mohapatra
2024-09-12 22:34:35 +05:30
committed by GitHub
parent 23888d618a
commit be88a86e6e
2 changed files with 1 additions and 11 deletions

9
.gitpod.Dockerfile vendored
View File

@@ -1,9 +0,0 @@
FROM gitpod/workspace-mongodb:latest
# from https://www.gitpod.io/docs/introduction/languages/javascript#node-versions
RUN bash -c 'VERSION="20" \
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
&& nvm use $VERSION && nvm alias default $VERSION \
&& npm i -g pnpm@9'
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

View File

@@ -1,5 +1,4 @@
image:
file: .gitpod.Dockerfile
image: ghcr.io/freecodecamp/gitpod-fcc:latest
ports:
- port: 27017 # mongodb
onOpen: ignore