Browse Source

chore: fixed devcontainer Docker usage (#3898)

pull/3923/head
Max Schmitt 7 months ago
committed by GitHub
parent
commit
53ae805708
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      .devcontainer/devcontainer.json

+ 5
- 2
.devcontainer/devcontainer.json View File

@ -1,8 +1,11 @@
{
"name": "Playwright",
"image": "mcr.microsoft.com/playwright:next",
"postCreateCommand": "npm install && npm run build",
"postCreateCommand": "npm install && npm run build && apt-get update && apt-get install -y software-properties-common && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\" && apt-get install -y docker-ce-cli",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
}
},
"runArgs": [
"-v", "/var/run/docker.sock:/var/run/docker.sock"
]
}

Loading…
Cancel
Save