add first build

This commit is contained in:
2022-08-11 23:22:12 +02:00
parent 4954f4d2f7
commit 8909b60721
3 changed files with 6 additions and 7 deletions

View File

@@ -2,12 +2,9 @@ FROM rust:1.62.1-slim-bullseye
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y build-essential curl git
WORKDIR /app/
RUN git clone https://git.front.kjuulh.io/kjuulh/cuddle.git
RUN apt-get install libssl-dev
RUN apt-get install -y -q build-essential curl git pkg-config
WORKDIR /app/cuddle/
RUN cargo build -p cuddle_cli --release
RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli