2024-06-20 13:33:43 +09:00
|
|
|
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
|
2024-07-01 14:38:57 +09:00
|
|
|
COPY README.md LICENSE-APACHE LICENSE-MIT ./
|
2024-06-20 13:33:43 +09:00
|
|
|
COPY --from=builder /usr/local/cargo/bin/fishctl /usr/local/bin/fishctl
|
2024-06-21 02:09:50 +09:00
|
|
|
WORKDIR /firefish
|