diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/runner/runc/spec.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/runner/runc/spec.rs b/src/runner/runc/spec.rs index 028e093..4335a43 100644 --- a/src/runner/runc/spec.rs +++ b/src/runner/runc/spec.rs @@ -32,6 +32,19 @@ pub fn generate_spec(run: &str) -> runtime::Spec { "hostname": "rebel-builder", "mounts": [ { + "destination": "/rebel", + "type": "tmpfs", + "source": "tmpfs", + "options": [ + "nosuid", + "nodev", + "strictatime", + "mode=755", + format!("uid={}", unshare::BUILD_UID), + format!("gid={}", unshare::BUILD_GID), + ] + }, + { "destination": "/proc", "type": "proc", "source": "proc" |