From 67803d315c6ea8d80c5981cd72ffd05880c70e19 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 28 Nov 2023 01:02:04 +0100 Subject: [PATCH] feat: with package as well Signed-off-by: kjuulh --- crates/cuddle-ci/src/rust_service/apt_ca_certificates.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/cuddle-ci/src/rust_service/apt_ca_certificates.rs b/crates/cuddle-ci/src/rust_service/apt_ca_certificates.rs index cd2d1d9..fa9ebd4 100644 --- a/crates/cuddle-ci/src/rust_service/apt_ca_certificates.rs +++ b/crates/cuddle-ci/src/rust_service/apt_ca_certificates.rs @@ -19,6 +19,7 @@ impl AptCaCertificates { impl DaggerMiddleware for AptCaCertificates { async fn handle(&self, container: Container) -> eyre::Result { let c = container + .with_exec(vec!["apt", "update"]) .with_exec(vec![ "apt", "install", @@ -45,5 +46,8 @@ impl AptCaCertificatesExt for RustService { self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new( AptCaCertificates::new(), ))) + .with_stage(super::RustServiceStage::BeforePackage(Arc::new( + AptCaCertificates::new(), + ))) } }