mirror of
https://github.com/we-promise/sure.git
synced 2026-04-27 07:54:09 +00:00
Add Flutter dev container configuration for mobile development
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
This commit is contained in:
32
.devcontainer/mobile/devcontainer.json
Normal file
32
.devcontainer/mobile/devcontainer.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user