ctr: build with --frozen
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ workdir /src
|
||||
copy . .
|
||||
run --mount=type=cache,id=novit-rs,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,id=novit-rs-target,sharing=private,target=/src/target \
|
||||
RUSTFLAGS="-C target-feature=-crt-static" cargo install --path . --root /dist
|
||||
RUSTFLAGS="-C target-feature=-crt-static" cargo install --frozen --path . --root /dist
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
from alpine:3.23.4 as system
|
||||
|
||||
Reference in New Issue
Block a user