Skip to content

Commit

Permalink
chore: improve devcontainer (#23378)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Jul 15, 2023
1 parent f529147 commit 948b9a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Expand Up @@ -9,3 +9,5 @@ RUN install-tool python 3.11.4

# renovate: datasource=npm
RUN install-tool yarn 1.22.19

USER ubuntu
13 changes: 6 additions & 7 deletions .devcontainer/devcontainer.json
Expand Up @@ -7,14 +7,11 @@
},
"name": "Renovate",
"dockerFile": "Dockerfile",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {}
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.profiles.linux": {
"bash": { "path": "/bin/bash" }
},
"terminal.integrated.defaultProfile.linux": "bash"
},
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
Expand All @@ -30,5 +27,7 @@
"seccomp=unconfined",
"--privileged"
],
"postCreateCommand": "yarn install"
"postCreateCommand": "yarn install",
// Otherwise jest watcher fails because deps were not installed yet
"waitFor": "postCreateCommand"
}

0 comments on commit 948b9a8

Please sign in to comment.