File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,16 @@ RUN apt-get install musl-tools -y
26
26
ENV CC_x86_64_unknown_linux_musl="x86_64-linux-musl-gcc"
27
27
RUN cargo build --release --target x86_64-unknown-linux-musl
28
28
29
+ # Test without smaller image
30
+ ENV RUST_BACKTRACE="full"
31
+
32
+ ENTRYPOINT [ "/app/target/x86_64-unknown-linux-musl/release/dd_rpc" ]
33
+
29
34
# Create a minimal image with the compiled binary
30
35
# FROM gcr.io/distroless/static AS runtime
31
36
# FROM scratch
32
- FROM debian:bookworm-slim
33
- WORKDIR /app
34
- COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/dd_rpc /app/dd_rpc
35
-
36
- ENV RUST_BACKTRACE="full"
37
+ # FROM debian:bookworm-slim
38
+ # WORKDIR /app
39
+ # COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/dd_rpc /app/dd_rpc
37
40
38
- ENTRYPOINT ["/app/dd_rpc" ]
41
+ # ENTRYPOINT ["/app/dd_rpc"]
You can’t perform that action at this time.
0 commit comments