mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
run cargo generate-lockfile
before running docker
This commit is contained in:
parent
f77386cf2b
commit
a4ddd6c5ff
@ -11,6 +11,9 @@ if [ $# -lt 1 ]; then
|
||||
fi
|
||||
|
||||
run() {
|
||||
# Prevent `Read-only file system (os error 30)`.
|
||||
cargo generate-lockfile
|
||||
|
||||
echo "Building docker container for TARGET=${1}"
|
||||
docker build -t stdarch -f "ci/docker/${1}/Dockerfile" ci/
|
||||
mkdir -p target c_programs rust_programs
|
||||
|
Loading…
x
Reference in New Issue
Block a user