chore(global): 🧑‍💻 update Gitpod config on STDLIBRC magic and workspace Dockerfile

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2022-04-25 12:13:11 +00:00
parent d818d3e3cb
commit 8c1c846b70
2 changed files with 5 additions and 4 deletions

3
.gitpod.Dockerfile vendored
View File

@ -1,4 +1,5 @@
FROM gitpod/workspace-full:latest
RUN bash -lc "source ~/.nvm/nvm-lazy.sh && nvm install --lts && nvm use --lts && nvm install-latest-npm" \
&& npm i -g lib.cli && brew install shellcheck hadolint
&& npm i -g lib.cli \
&& brew install shellcheck hadolint direnv

View File

@ -5,12 +5,12 @@ tasks:
# Install packages, preloads user's librc in its base64-encoded form and decode back to ~/.librc
- init: |
npm install
before: |
command: |
eval $(gp env -e)
if [[ $STDLIBRC != "" ]]; then
echo $STDLIBRC | base64 -d | tee ~/.librc.test >> /dev/null
echo $STDLIBRC | base64 -d | tee ~/.librc >> /dev/null
fi
command: npn run dev
npm run dev
vscode:
extensions:
- GitLab.gitlab-workflow