This repository has been archived on 2023-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
ci-buildkit-plugin/Dockerfile
2022-08-21 18:30:34 +02:00

12 lines
265 B
Docker

FROM rust:alpine AS builder
WORKDIR /usr/src/app
COPY . .
RUN cargo install --path .
FROM alpine:3
COPY --from=builder /usr/local/cargo/bin/app /usr/local/bin/buildkit-plugin
COPY --from=moby/buildkit /usr/bin/buildctl /usr/bin/buildctl
CMD ["buildkit-plugin"]