Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use async_trait::async_trait;
|
||||
use dagger_sdk::Container;
|
||||
|
||||
@@ -47,6 +49,8 @@ pub trait AptExt {
|
||||
|
||||
impl AptExt for RustService {
|
||||
fn with_apt(&mut self, deps: &[&str]) -> &mut Self {
|
||||
self.with_stage(super::RustServiceStage::BeforeDeps(Box::new(Apt::new().extend(deps))))
|
||||
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
||||
Apt::new().extend(deps),
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user