diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..6014b15 --- /dev/null +++ b/Containerfile @@ -0,0 +1,9 @@ +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