Skip to content

Commit 386ddda

Browse files
List volumes only for running containers when building multiarch
1 parent 109a3ac commit 386ddda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build_multiarch_stanc3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SHA=$(skopeo inspect --raw docker://stanorg/stanc3:multiarch | jq '.manifests |
2626
docker run --rm --privileged multiarch/qemu-user-static --reset
2727

2828
# Run docker, inheriting mounted volumes from sibling container (including stanc3 directory), and build stanc3
29-
docker run --volumes-from=$(docker ps -aqf "ancestor=stanorg/stanc3:static"):rw stanorg/stanc3:multiarch@$SHA /bin/bash -c "cd $(pwd) && eval \$(opam env) && dune build @install --profile static"
29+
docker run --volumes-from=$(docker ps -qf "ancestor=stanorg/stanc3:static"):rw stanorg/stanc3:multiarch@$SHA /bin/bash -c "cd $(pwd) && eval \$(opam env) && dune build @install --profile static"
3030

3131
# Update ownership of build folders
3232
chown -R opam: _build

0 commit comments

Comments
 (0)