fix(build): set default railpackVersion to '0.2.2' and ensure cleanup in build process

- Updated the ShowBuildChooseForm component to default railpackVersion to '0.2.2' if not specified.
- Added cleanup step in the buildRailpack function to remove the builder container after execution.
- Refactored application router to include railpackVersion in the application schema.
This commit is contained in:
Mauricio Siu
2025-08-03 02:00:10 -06:00
parent cc6445a8ec
commit e785ad5599
3 changed files with 33 additions and 28 deletions

View File

@@ -110,6 +110,8 @@ export const buildRailpack = async (
return true;
} catch (e) {
throw e;
} finally {
await execAsync("docker buildx rm builder-containerd");
}
};