mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
Use daytona-medium snapshot as default Daytona sandbox
The bare ubuntu:22.04 image lacks git and other tooling, causing git checkpoints to fail. Switch to the daytona-medium snapshot which has standard dev tools pre-installed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
29bd80824b
commit
39191be1a5
1 changed files with 3 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ use serde::{Deserialize, Serialize};
|
|||
use fabro_github::GitHubAppCredentials;
|
||||
|
||||
const WORKING_DIRECTORY: &str = "/home/daytona/workspace";
|
||||
const DEFAULT_IMAGE: &str = "ubuntu:22.04";
|
||||
const DEFAULT_SNAPSHOT: &str = "daytona-medium";
|
||||
|
||||
/// Configuration for a Daytona cloud sandbox.
|
||||
///
|
||||
|
|
@ -543,10 +543,9 @@ impl Sandbox for DaytonaSandbox {
|
|||
snapshot: snap_cfg.name.clone(),
|
||||
})
|
||||
} else {
|
||||
daytona_sdk::CreateParams::Image(daytona_sdk::ImageParams {
|
||||
daytona_sdk::CreateParams::Snapshot(daytona_sdk::SnapshotParams {
|
||||
base: self.base_params(),
|
||||
image: daytona_sdk::ImageSource::Name(DEFAULT_IMAGE.to_string()),
|
||||
resources: None,
|
||||
snapshot: DEFAULT_SNAPSHOT.to_string(),
|
||||
})
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue