feat: without extra packages
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-08-18 12:02:23 +02:00
parent 90598c9ffc
commit 171fa0e6fa
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -26,15 +26,7 @@ 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!["apt", "update"])
.with_exec(vec![ .with_exec(vec!["apt", "install", "-y", "ca-certificates"])
"apt",
"install",
"-y",
"ca-certificates",
"build-essential",
"curl",
"libssl-dev",
])
.with_exec(vec!["update-ca-certificates"]); .with_exec(vec!["update-ca-certificates"]);
Ok(c) Ok(c)