-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Add Flutter SDK devcontainer feature with VS Code extension support #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: jsburckhardt <[email protected]>
Co-authored-by: jsburckhardt <[email protected]>
…d tests Co-authored-by: jsburckhardt <[email protected]>
|
@copilot mate - you should be using the binaries from the repo, not cloning the repo ! |
…tead of git clone Co-authored-by: jsburckhardt <[email protected]>
Updated the implementation to download precompiled binaries from Flutter's official CDN (storage.googleapis.com) instead of cloning the repository. The install script now downloads the tar.xz binaries directly from Google Cloud Storage as Flutter officially distributes them. Note: The test environment has network restrictions that block Google Cloud Storage URLs, but the implementation follows Flutter's official distribution method. In production environments, the precompiled binaries will download correctly from https://storage.googleapis.com/flutter_infra_release/releases/ Commit: [commit hash will be shown after push] Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Overview
This PR adds a new Flutter feature to the devcontainer-features collection, enabling developers to easily integrate Flutter development into their devcontainer environments.
Implementation
The Flutter feature installs the Flutter SDK using precompiled binaries from Flutter's official CDN (Google Cloud Storage). This approach ensures fast, reliable installation of official Flutter releases without requiring git operations.
Key Features
3.24.5)/opt/flutterwith symlinks to/usr/local/binfor easy accessDart-Code.flutter)Installation Method
The feature downloads precompiled binary archives (tar.xz) from Flutter's official CDN:
https://storage.googleapis.com/flutter_infra_release/releases/Usage Example
{ "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/jsburckhardt/devcontainer-features/flutter:1": {} } }Or with a specific version:
{ "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/jsburckhardt/devcontainer-features/flutter:1": { "version": "3.24.5" } } }Testing
References
Fixes #70
Original prompt
Fixes #70
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.