2022-04-21 10:37:29 +02:00
|
|
|
|
2022-04-21 07:18:54 +02:00
|
|
|
image:
|
|
|
|
file: .gitpod.Dockerfile
|
|
|
|
tasks:
|
2022-04-21 10:37:29 +02:00
|
|
|
# Install packages, preloads user's librc in its base64-encoded form and decode back to ~/.librc
|
2022-04-21 07:18:54 +02:00
|
|
|
- init: |
|
2022-04-21 10:37:29 +02:00
|
|
|
npm install
|
2022-04-25 14:13:11 +02:00
|
|
|
command: |
|
2022-04-21 10:37:29 +02:00
|
|
|
eval $(gp env -e)
|
|
|
|
if [[ $STDLIBRC != "" ]]; then
|
2022-04-25 14:13:11 +02:00
|
|
|
echo $STDLIBRC | base64 -d | tee ~/.librc >> /dev/null
|
2022-04-21 10:37:29 +02:00
|
|
|
fi
|
2022-04-25 14:13:11 +02:00
|
|
|
npm run dev
|
2022-04-21 10:37:29 +02:00
|
|
|
vscode:
|
|
|
|
extensions:
|
|
|
|
- GitLab.gitlab-workflow
|
|
|
|
- exiasr.hadolint
|