Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

build(docker): use `debian:bookworm-slim` as base image for builder and runner stages (#1473)

Sanchith Hegde5eb033336321
diff --git a/Dockerfile b/Dockerfile
index fb92bd3acb..8eb321dd2a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM rust:slim as builder
+FROM rust:slim-bookworm as builder
ARG EXTRA_FEATURES=""
@@ -36,7 +36,7 @@ RUN cargo build --release --features release ${EXTRA_FEATURES}
-FROM debian
+FROM debian:bookworm-slim
# Placing config and binary executable in different directories
ARG CONFIG_DIR=/local/config