https://github.com/josecelano/rust-cargo-chef-test
https://github.com/josecelano/rust-cargo-chef-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/josecelano/rust-cargo-chef-test
- Owner: josecelano
- Created: 2022-12-07T13:56:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-07T21:19:08.000Z (over 2 years ago)
- Last Synced: 2025-04-01T21:54:38.118Z (about 2 months ago)
- Language: Dockerfile
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust cargo chef test
I'm using [cargo-chef](https://github.com/LukeMathWalker/cargo-chef) to cache app dependencies in the dockerfile.
You can build the image with:
```s
./build.sh
```This Dockerfile layer takes 214.7 seconds to build:
```s
RUN cargo build --release --target x86_64-unknown-linux-musl --bin rust-cargo-chef-test
```It seems `cargo-chef` layer is not working. If you run again the build command without changing any dependency, it takes the same time again.
ggggI've create an issue in the cargo-chef repo:
This repo helps to reproduce the problem.