cadre 0.5.4

Cadre is a simple, self-hosted, high-performance remote configuration service.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM rust:alpine AS builder
WORKDIR /home/rust/src
RUN apk --no-cache add musl-dev
COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry \
    --mount=type=cache,target=/home/rust/src/target \
    cargo build --release
RUN --mount=type=cache,target=/home/rust/src/target \
    cp target/release/cadre /usr/bin

FROM alpine
COPY --from=builder /usr/bin/cadre /usr/bin
USER 1000:1000
ENTRYPOINT ["cadre"]