kimager 0.1.0

Logs the existence of container images in a Kubernetes cluster.
Documentation
1
2
3
4
5
6
7
8
9
10
11
FROM clux/muslrust:stable AS build
WORKDIR /build/
COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
COPY src/ src/
RUN cargo build --release && strip /build/target/x86_64-unknown-linux-musl/release/kimager

FROM scratch
WORKDIR /bin/
COPY --from=build /build/target/x86_64-unknown-linux-musl/release/kimager .
ENTRYPOINT ["/bin/kimager"]