feat: with package as well
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-11-28 01:02:04 +01:00
parent 5908cd9526
commit 67803d315c
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -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(),
)))
} }
} }