Skip to content

Commit

Permalink
build(container): install caracal-daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
xrelkd committed Dec 23, 2023
1 parent 97928ec commit 00822eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev-support/containers/alpine/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN cargo build --locked --release
FROM alpine as caracal

COPY --from=builder /build/target/release/caracal /usr/bin
COPY --from=builder /build/target/release/caracal-daemon /usr/bin

RUN <<EOF
#!/usr/bin/env ash
Expand All @@ -45,4 +46,4 @@ set -eu

EOF

ENTRYPOINT [ "/usr/bin/caracal", "daemon" ]
ENTRYPOINT [ "/usr/bin/caracal", "version" ]
3 changes: 2 additions & 1 deletion dev-support/containers/distroless/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ RUN cargo build --locked --release
FROM distroless as caracal

COPY --from=builder /build/target/release/caracal /usr/bin
COPY --from=builder /build/target/release/caracal-daemon /usr/bin

ENTRYPOINT [ "/usr/bin/caracal", "daemon" ]
ENTRYPOINT [ "/usr/bin/caracal", "version" ]

0 comments on commit 00822eb

Please sign in to comment.