Skip to content

Commit

Permalink
Add cli containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Jul 25, 2024
1 parent 04c95fd commit 82805d2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ COPY --from=planner /planner/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
# Build application
COPY . .
RUN cargo build --bin iam-setup --release
RUN cargo build --bin iam-cli --release



FROM registry.access.redhat.com/ubi9/ubi-micro
WORKDIR /app
COPY --from=builder /builder/target/release/iam-setup ./
CMD ["./iam-setup"]
COPY --from=builder /builder/target/release/iam-cli /usr/bin/iam-cli

0 comments on commit 82805d2

Please sign in to comment.