π Bug Report
π Title
SDK Version Incompatibility: Generated Dockerfile uses version (3.6.0) lower than required in pubspec.yaml (3.10.0)
π External Link
π₯οΈ Environment
- Operating System: Windows 11 (Docker via WSL2)
- Browser: Microsoft Edge v142.0.3595.90 (64-bits)
- Application Version: Vaden Generator 1.0.0
π Detailed Description
When generating a new project by selecting Dart version "3.10.0" in the Vaden Generator interface, the pubspec.yaml file is correctly created with the sdk: ^3.10.0 constraint. However, the Dockerfile is generated pointing to an older base image (FROM dart:3.6.0). This prevents the container from building the project, as the container's SDK does not meet the project's minimum requirements.
Workaround: Manually update the SDK version in the pubspec.yaml file.
π Steps to Reproduce
- Open Vaden Generator.
- Fill in the project details.
- Select Dart Version: 3.10.0 from the dropdown menu.
- Click on "Generate project".
- Open the generated
Dockerfile in the project root.
β
Expected Result
The Dockerfile should contain the instruction corresponding to the selected version or a compatible one:
FROM dart:3.10.0 AS build or FROM dart:stable AS build
β Actual Result
The Dockerfile is generated with a hardcoded, outdated version:
FROM dart:3.6.0 AS build
π· Evidence
File: pubspec.yaml (Line 7)
environment:
sdk: ^3.10.0
File: Dockerfile (Line 1)
β οΈ Severity
π¨ Priority