Skip to content

Commit 789b935

Browse files
faraotgross35
authored andcommitted
ci: fix docker mount volumes SE-Linux enabled systems
1 parent 826f0aa commit 789b935

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
@@ -69,9 +69,9 @@ run() {
6969
--env CARGO_TERM_VERBOSE \
7070
--env CARGO_HOME=/cargo \
7171
--env CARGO_TARGET_DIR=/checkout/target \
72-
--volume "$CARGO_HOME":/cargo \
73-
--volume "$(rustc --print sysroot)":/rust:ro \
74-
--volume "$PWD":/checkout:ro \
72+
--volume "$CARGO_HOME":/cargo:Z \
73+
--volume "$(rustc --print sysroot)":/rust:ro,Z \
74+
--volume "$PWD":/checkout:ro,Z \
7575
--volume "$PWD"/target:/checkout/target \
7676
$kvm \
7777
--init \

0 commit comments

Comments
 (0)