Fix reproducibility of the docker image (#1924)
Add `--locked` flag when installing `sccache` in the first stages to ensure the image gets built when the base image's Rust version satisfies `sccache`'s MSRV. Fixes #1923 🐛 Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
This commit is contained in:
parent
9b780cc0a7
commit
61046c4157
@ -4,7 +4,7 @@ LABEL "maintainer"="afl++ team <afl@aflplus.plus>"
|
||||
LABEL "about"="LibAFL Docker image"
|
||||
|
||||
# install sccache to cache subsequent builds of dependencies
|
||||
RUN cargo install sccache
|
||||
RUN cargo install --locked sccache
|
||||
|
||||
ENV HOME=/root
|
||||
ENV SCCACHE_CACHE_SIZE="1G"
|
||||
|
Loading…
x
Reference in New Issue
Block a user