cuddle-image/templates/build_cuddle_image.Dockerfile
kjuulh a6f7f1a5d5
Some checks reported errors
continuous-integration/drone/push Build encountered an error
trying again
2022-08-13 13:10:10 +02:00

9 lines
281 B
Docker

FROM ekidd/rust-musl-builder as base
RUN cargo install --target x86_64-unknown-linux-musl --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli
FROM docker:stable-dind
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
ENV PATH="${PATH}:/usr/local/cargo/bin"