cuddle-image/templates/build_cuddle_image.Dockerfile
kjuulh 8e9ece3dfe
Some checks failed
continuous-integration/drone/push Build is failing
trying a musl builder
2022-08-13 13:04:39 +02:00

11 lines
303 B
Docker

FROM ekidd/rust-musl-builder as base
WORKDIR /app/cuddle/
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"