feat: add postgresql-dev
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-12-26 18:07:18 +01:00
parent 63fbecd194
commit c977fdbcaa
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -125,7 +125,7 @@ impl NodeService {
.build()?, .build()?,
); );
let deps = let deps =
"apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev git" "apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev git postgresql-dev"
.split_whitespace(); .split_whitespace();
let base_image = match self.base_image.clone() { let base_image = match self.base_image.clone() {
@ -177,7 +177,13 @@ impl NodeService {
.client .client
.container() .container()
.from("node:20-alpine") .from("node:20-alpine")
.with_exec(vec!["apk", "add", "--no-cache", "vips-dev"]), .with_exec(vec![
"apk",
"add",
"--no-cache",
"vips-dev",
"postgresql-dev",
]),
} }
.with_env_variable("NODE_ENV", "production"); .with_env_variable("NODE_ENV", "production");