Skip to content

Commit 4c46054

Browse files
committed
add uname to other docker images
1 parent f01794a commit 4c46054

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/daemons/pushd/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Build Stage
22
FROM ghcr.io/revoltchat/base:latest AS builder
3+
FROM debian:12 AS debian
34

45
# Bundle Stage
56
FROM gcr.io/distroless/cc-debian12:nonroot
67
COPY --from=builder /home/rust/src/target/release/revolt-pushd ./
8+
COPY --from=debian /usr/bin/uname /usr/bin/uname
79

810
USER nonroot
911
CMD ["./revolt-pushd"]

crates/delta/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Build Stage
22
FROM ghcr.io/revoltchat/base:latest AS builder
3+
FROM debian:12 AS debian
34

45
# Bundle Stage
56
FROM gcr.io/distroless/cc-debian12:nonroot
67
COPY --from=builder /home/rust/src/target/release/revolt-delta ./
8+
COPY --from=debian /usr/bin/uname /usr/bin/uname
79

810
EXPOSE 8000
911
ENV ROCKET_ADDRESS 0.0.0.0

0 commit comments

Comments
 (0)