flux-platform 1.0.0

A local-first, AI-native developer automation platform: build, test, package, and deploy from a single .flux file, and make your repository legible to AI agents.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Build Flux from source and ship a slim image.
#   docker build -t flux .
#   docker run --rm flux --version
FROM rust:1-slim AS build
WORKDIR /src
COPY . .
RUN cargo build --release

FROM debian:bookworm-slim
LABEL org.opencontainers.image.source="https://github.com/martin-k-m/flux" \
      org.opencontainers.image.description="Local-first developer automation platform" \
      org.opencontainers.image.licenses="Apache-2.0"
COPY --from=build /src/target/release/flux /usr/local/bin/flux
WORKDIR /workspace
ENTRYPOINT ["flux"]
CMD ["--help"]