From f01794af933d52955e4a51d6d8a77567702fc24d Mon Sep 17 00:00:00 2001 From: IAmTomahawkx Date: Thu, 12 Dec 2024 01:58:55 -0800 Subject: [PATCH] fix: bonfire needs uname fixes revoltchat/self-hosted#104 --- crates/bonfire/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/bonfire/Dockerfile b/crates/bonfire/Dockerfile index cb5c718ba..d1829137b 100644 --- a/crates/bonfire/Dockerfile +++ b/crates/bonfire/Dockerfile @@ -1,9 +1,11 @@ # Build Stage FROM ghcr.io/revoltchat/base:latest AS builder +FROM debian:12 AS debian # Bundle Stage FROM gcr.io/distroless/cc-debian12:nonroot COPY --from=builder /home/rust/src/target/release/revolt-bonfire ./ +COPY --from=debian /usr/bin/uname /usr/bin/uname EXPOSE 14703 USER nonroot