fishctl/Containerfile
2024-06-20 13:33:43 +09:00

9 lines
249 B
Docker

FROM docker.io/rust:alpine AS builder
WORKDIR /fishctl
COPY . .
RUN apk add --no-cache musl-dev
RUN cargo install --locked --path .
FROM docker.io/busybox:musl
COPY LICENSE ./
COPY --from=builder /usr/local/cargo/bin/fishctl /usr/local/bin/fishctl