This commit is contained in:
parent
26a93b4c6c
commit
f59d8fb0cf
@ -1,6 +1,20 @@
|
|||||||
FROM ekidd/rust-musl-builder as base
|
FROM rust:1.62.1-slim-bullseye as base
|
||||||
|
|
||||||
RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli
|
RUN rustup target add x86_64-unknown-linux-musl
|
||||||
|
|
||||||
|
RUN apt-get update -qq && \
|
||||||
|
apt-get install -y \
|
||||||
|
musl-tools \
|
||||||
|
musl-dev
|
||||||
|
|
||||||
|
RUN update-ca-certificates
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get upgrade -y
|
||||||
|
RUN apt-get install -y -q build-essential curl git
|
||||||
|
|
||||||
|
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
|
FROM docker:stable-dind
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user