cuddle-image/templates/build_cuddle_image.Dockerfile
kjuulh 335515322a
Some checks failed
continuous-integration/drone Build is failing
trying again
2022-08-13 12:40:20 +02:00

18 lines
461 B
Docker

FROM rust:1.62.1-slim-bullseye as base
#as base
RUN apt-get update && apt-get upgrade -y
RUN apt-get install libssl-dev
RUN apt-get install -y -q build-essential curl git pkg-config
WORKDIR /app/cuddle/
RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli
RUN export PATH="$PATH:/usr/local/cargo/bin/"
FROM docker:stable-dind
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
ENV PATH="${PATH}:/usr/local/cargo/bin"