mirror of
https://github.com/we-promise/sure.git
synced 2026-04-26 23:44:12 +00:00
Adds a dedicated dev container under .devcontainer/mobile/ following the monorepo multi-container pattern. Includes a multi-stage Dockerfile with Android SDK (platform 36) and Flutter 3.29.2, a devcontainer.json with Dart/Flutter VS Code extensions, and an on-create script that configures Flutter for Android-only development and installs project dependencies. https://claude.ai/code/session_013F3TXesccdf2ta5qwykPtt
33 lines
777 B
JSON
33 lines
777 B
JSON
{
|
|
"name": "Sure Mobile (Flutter)",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
"USERNAME": "${localEnv:USER}${localEnv:USERNAME}"
|
|
}
|
|
},
|
|
"containerEnv": {
|
|
"SHELL": "/bin/bash"
|
|
},
|
|
"runArgs": [
|
|
"--platform",
|
|
"linux/amd64",
|
|
"--name",
|
|
"${localWorkspaceFolderBasename}_flutter_devcontainer"
|
|
],
|
|
"onCreateCommand": "bash ./.devcontainer/mobile/on-create.sh",
|
|
"remoteUser": "${localEnv:USER}${localEnv:USERNAME}",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"Dart-Code.dart-code",
|
|
"Dart-Code.flutter"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
|
"dart.flutterSdkPath": "/home/${localEnv:USER}${localEnv:USERNAME}/flutter"
|
|
}
|
|
}
|
|
}
|
|
}
|