diff --git a/.drone.yml b/.drone.yml index 5852735..90fd5d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -74,7 +74,7 @@ steps: from_secret: docker_password depends_on: - "load_secret" - #- "server" + - "server" - name: send telegram notification image: appleboy/drone-telegram diff --git a/templates/build_cuddle_image.Dockerfile b/templates/build_cuddle_image.Dockerfile index a8714cb..d64867d 100644 --- a/templates/build_cuddle_image.Dockerfile +++ b/templates/build_cuddle_image.Dockerfile @@ -1,6 +1,6 @@ FROM rust:1.62.1-slim-bullseye as base -#as base +RUN rustup target add x86_64-unknown-linux-musl RUN apt-get update && apt-get upgrade -y RUN apt-get install libssl-dev @@ -8,8 +8,7 @@ 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/" +RUN cargo install --target x86_64-unknown-linux-musl --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli FROM docker:stable-dind