Skip to content

Commit aa63858

Browse files
committed
ci: fix docker mount volumes SE-Linux enabled systems
1 parent 0fb5309 commit aa63858

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/run-docker.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ run() {
4747
--env RUST_LIBC_UNSTABLE_GNU_TIME_BITS \
4848
--env CARGO_HOME=/cargo \
4949
--env CARGO_TARGET_DIR=/checkout/target \
50-
--volume "$CARGO_HOME":/cargo \
51-
--volume "$(rustc --print sysroot)":/rust:ro \
52-
--volume "$PWD":/checkout:ro \
50+
--volume "$CARGO_HOME":/cargo:Z \
51+
--volume "$(rustc --print sysroot)":/rust:ro,Z \
52+
--volume "$PWD":/checkout:ro,Z \
5353
--volume "$PWD"/target:/checkout/target \
5454
$kvm \
5555
--init \

0 commit comments

Comments
 (0)