diff --git a/crates/bonfire/Dockerfile b/crates/bonfire/Dockerfile index e8a47223..99969df8 100644 --- a/crates/bonfire/Dockerfile +++ b/crates/bonfire/Dockerfile @@ -1,9 +1,11 @@ # Build Stage FROM ghcr.io/upryzing/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/upryzing-bonfire ./ +COPY --from=debian /usr/bin/uname /usr/bin/uname EXPOSE 14703 USER nonroot diff --git a/crates/daemons/pushd/Dockerfile b/crates/daemons/pushd/Dockerfile index 00db8536..ae9c36c1 100644 --- a/crates/daemons/pushd/Dockerfile +++ b/crates/daemons/pushd/Dockerfile @@ -1,9 +1,11 @@ # Build Stage FROM ghcr.io/upryzing/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/upryzing-pushd ./ +COPY --from=debian /usr/bin/uname /usr/bin/uname USER nonroot CMD ["./upryzing-pushd"] \ No newline at end of file diff --git a/crates/delta/Dockerfile b/crates/delta/Dockerfile index 8d6bae24..904ab606 100644 --- a/crates/delta/Dockerfile +++ b/crates/delta/Dockerfile @@ -1,9 +1,11 @@ # Build Stage FROM ghcr.io/upryzing/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/upryzing-delta ./ +COPY --from=debian /usr/bin/uname /usr/bin/uname EXPOSE 14702 ENV ROCKET_ADDRESS 0.0.0.0