mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Add python and npm to Dockerfile.codespaces
This commit is contained in:
5
.devcontainer/Dockerfile.codespaces
Normal file
5
.devcontainer/Dockerfile.codespaces
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y sudo man-db python3.12 npm unminimize
|
||||||
|
RUN yes | unminimize
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
|
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"rust-lang.rust-analyzer",
|
"rust-lang.rust-analyzer",
|
||||||
"bungcip.better-toml",
|
"bungcip.better-toml",
|
||||||
@@ -8,6 +7,10 @@
|
|||||||
"ms-vscode.test-adapter-converter",
|
"ms-vscode.test-adapter-converter",
|
||||||
"slevesque.vscode-zipexplorer"
|
"slevesque.vscode-zipexplorer"
|
||||||
],
|
],
|
||||||
|
"build": {
|
||||||
|
// Path is relative to the devcontainer.json file.
|
||||||
|
"dockerfile": "Dockerfile.codespaces"
|
||||||
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"files.watcherExclude": {
|
"files.watcherExclude": {
|
||||||
"**/target/**": true
|
"**/target/**": true
|
||||||
|
|||||||
Reference in New Issue
Block a user