-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I wouldn't care if I just wanted to run a Dockerized CLI, but I've tried building in Docker because I can't build outside of it (issue #35). I want to build and get the CLI binary...
Alternatively if you posted signed non-Dockerized CLI releases, we could just download those.
=> => transferring context: 352.80kB 0.2s
=> [planner 2/5] WORKDIR /app 0.4s
=> CANCELED [builder 3/7] RUN apt-get update -qq && apt-get install -y -qq cmake libssl-dev c 40.0s
=> ERROR [planner 3/5] RUN cargo install cargo-chef 39.1s
=> CANCELED [cacher 3/6] RUN apt-get update -qq && apt-get install -y -qq cmake libssl-dev cl 40.3s
------
> [planner 3/5] RUN cargo install cargo-chef:
1.068 Updating crates.io index
34.80 Downloading crates ...
34.94 Downloaded cargo-chef v0.1.71
35.18 Installing cargo-chef v0.1.71
35.44 error: failed to compile `cargo-chef v0.1.71`, intermediate artifacts can be found at `/tmp/cargo-installMbFwwS`
35.44
35.44 Caused by:
35.44 failed to select a version for the requirement `clap = "^4"`
35.44 candidate versions found which didn't match: 3.2.25, 3.2.24, 3.2.23, ...
35.44 location searched: crates.io index
35.44 required by package `cargo-chef v0.1.71`
------
4 warnings found (use --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 5)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 17)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 32)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 52)
Dockerfile:7
--------------------
5 | FROM rust:1.54.0-slim-buster as planner
6 | WORKDIR /app
7 | >>> RUN cargo install cargo-chef
8 | COPY . .
9 | RUN cargo chef prepare --recipe-path recipe.json \
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo install cargo-chef" did not complete successfully: exit code: 101
Metadata
Metadata
Assignees
Labels
No labels