feat: with alpine instead
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-04-06 22:56:45 +02:00
parent 372b7a2526
commit 556cb152e8
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -29,7 +29,7 @@ impl DaggerMiddleware for DaggerBin {
let dagger_bin = self
.client
.container()
.from("debian:bookworm")
.from("alpine")
.with_file_opts(
"/mnt/install.sh",
install_script,
@ -39,8 +39,6 @@ impl DaggerMiddleware for DaggerBin {
},
)
.with_env_variable("DAGGER_VERSION", &self.version)
.with_exec(vec!["apt", "update", "-y"])
.with_exec(vec!["apt", "install", "curl", "-y"])
.with_exec(vec!["/mnt/install.sh"])
.file("/bin/dagger");