add Containerfile
This commit is contained in:
parent
812b215767
commit
208314c91b
1 changed files with 9 additions and 0 deletions
9
Containerfile
Normal file
9
Containerfile
Normal file
|
@ -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
|
Loading…
Reference in a new issue