mirror of
https://github.com/ekzhang/bore.git
synced 2024-12-23 01:35:26 +07:00
11 lines
218 B
Docker
11 lines
218 B
Docker
|
FROM rust:alpine as builder
|
||
|
WORKDIR /home/rust/src
|
||
|
RUN apk --no-cache add musl-dev
|
||
|
COPY . .
|
||
|
RUN cargo install --path .
|
||
|
|
||
|
FROM scratch
|
||
|
COPY --from=builder /usr/local/cargo/bin/bore .
|
||
|
USER 1000:1000
|
||
|
ENTRYPOINT ["./bore"]
|