Files
bore/Dockerfile

11 lines
218 B
Docker
Raw Permalink Normal View History

2025-01-10 19:31:56 +01:00
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"]