Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
5908cd9526
commit
67803d315c
@ -19,6 +19,7 @@ impl AptCaCertificates {
|
|||||||
impl DaggerMiddleware for AptCaCertificates {
|
impl DaggerMiddleware for AptCaCertificates {
|
||||||
async fn handle(&self, container: Container) -> eyre::Result<Container> {
|
async fn handle(&self, container: Container) -> eyre::Result<Container> {
|
||||||
let c = container
|
let c = container
|
||||||
|
.with_exec(vec!["apt", "update"])
|
||||||
.with_exec(vec![
|
.with_exec(vec![
|
||||||
"apt",
|
"apt",
|
||||||
"install",
|
"install",
|
||||||
@ -45,5 +46,8 @@ impl AptCaCertificatesExt for RustService {
|
|||||||
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
||||||
AptCaCertificates::new(),
|
AptCaCertificates::new(),
|
||||||
)))
|
)))
|
||||||
|
.with_stage(super::RustServiceStage::BeforePackage(Arc::new(
|
||||||
|
AptCaCertificates::new(),
|
||||||
|
)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user