Skip to content

Commit

Permalink
fix: copy uname
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Dec 17, 2024
1 parent af88ad1 commit 8c3c959
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bonfire/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
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/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"]
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/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
Expand Down

0 comments on commit 8c3c959

Please sign in to comment.