From 152ffb9df8f8b2e986032566b55cdd9c2033fe60 Mon Sep 17 00:00:00 2001 From: Sreekanth Date: Fri, 15 Nov 2024 10:19:03 +0530 Subject: [PATCH] chore: fix image build issues (#105) --- examples/batchmap-flatmap/Cargo.toml | 5 ----- examples/mapt-event-time-filter/Dockerfile | 4 ++-- examples/sink-log/Cargo.toml | 4 ---- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/examples/batchmap-flatmap/Cargo.toml b/examples/batchmap-flatmap/Cargo.toml index 753d20f..440eaad 100644 --- a/examples/batchmap-flatmap/Cargo.toml +++ b/examples/batchmap-flatmap/Cargo.toml @@ -3,11 +3,6 @@ name = "batchmap-flatmap" version = "0.1.0" edition = "2021" - -[[bin]] -name = "server" -path = "src/main.rs" - [dependencies] tonic = "0.12.0" tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] } diff --git a/examples/mapt-event-time-filter/Dockerfile b/examples/mapt-event-time-filter/Dockerfile index a5f513c..2b0ce06 100644 --- a/examples/mapt-event-time-filter/Dockerfile +++ b/examples/mapt-event-time-filter/Dockerfile @@ -14,7 +14,7 @@ RUN cargo build --release FROM debian:bullseye AS mapt-event-time-filter # copy the build artifact from the build stage -COPY --from=build /numaflow-rs/target/release/mapt-event-time-filter . +COPY --from=build /numaflow-rs/target/release/source-transformer-event-time-filter . # set the startup command to run your binary -CMD ["./mapt-event-time-filter"] +CMD ["./source-transformer-event-time-filter"] diff --git a/examples/sink-log/Cargo.toml b/examples/sink-log/Cargo.toml index 6c2e002..2ac2005 100644 --- a/examples/sink-log/Cargo.toml +++ b/examples/sink-log/Cargo.toml @@ -3,10 +3,6 @@ name = "sink-log" version = "0.1.0" edition = "2021" -[[bin]] -name = "server" -path = "src/main.rs" - [dependencies] tonic = "0.12.0" tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }