assay-lua 0.3.2

Lightweight Lua runtime for Kubernetes. Verification, scripting, and web services.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Builder
FROM rust:1.92-slim AS builder
RUN apt-get update && apt-get install -y musl-tools cmake make g++ && rm -rf /var/lib/apt/lists/*
RUN rustup target add x86_64-unknown-linux-musl
WORKDIR /app
COPY Cargo.toml Cargo.lock ./
COPY src/ src/
COPY stdlib/ stdlib/
RUN cargo build --release --target x86_64-unknown-linux-musl

# Runtime
FROM alpine:3.21
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/assay /usr/local/bin/assay
ENTRYPOINT ["assay"]