Skip to content

Commit

Permalink
add uname to other docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmTomahawkx committed Dec 13, 2024
1 parent f01794a commit 4c46054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/daemons/pushd/Dockerfile
Original file line number Diff line number Diff line change
@@ -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-pushd ./
COPY --from=debian /usr/bin/uname /usr/bin/uname

USER nonroot
CMD ["./revolt-pushd"]
2 changes: 2 additions & 0 deletions crates/delta/Dockerfile
Original file line number Diff line number Diff line change
@@ -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-delta ./
COPY --from=debian /usr/bin/uname /usr/bin/uname

EXPOSE 8000
ENV ROCKET_ADDRESS 0.0.0.0
Expand Down

0 comments on commit 4c46054

Please sign in to comment.