forgot to add pkg-config and use docker in docker instead

This commit is contained in:
Shehab Ali Tweel
2025-05-24 08:32:48 +00:00
parent 0224382133
commit 639e13a65c
2 changed files with 16 additions and 9 deletions

3
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM mcr.microsoft.com/devcontainers/base:bullseye
RUN apt-get update && apt-get install -y pkg-config

View File

@@ -3,15 +3,10 @@
{
"name": "Debian",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": true,
"installDockerBuildx": true,
"installDockerComposeSwitch": true,
"version": "latest",
"dockerDashComposeVersion": "none"
},
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"installYarnUsingApt": true,
@@ -20,18 +15,27 @@
"nvmVersion": "latest"
},
"ghcr.io/devcontainers/features/rust:1": {
"version": "latest",
"version": "1.86",
"profile": "minimal"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"installDirectlyFromGitHubRelease": true,
"version": "latest"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"azureDnsAutoDetection": true,
"installDockerBuildx": true,
"installDockerComposeSwitch": true,
"version": "latest",
"dockerDashComposeVersion": "none"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-containers",
"-ms-azuretools.vscode-docker",
"docker.docker",
"dotenv.dotenv-vscode",
"EditorConfig.EditorConfig",