From c287a31fbc963a6ea9ce769defebcace4bcdcb87 Mon Sep 17 00:00:00 2001 From: luke-lombardi <33990301+luke-lombardi@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:49:24 -0500 Subject: [PATCH] add ssh run dir --- pkg/worker/base_runc_config.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/worker/base_runc_config.json b/pkg/worker/base_runc_config.json index ec2540914..7cfa50d4f 100644 --- a/pkg/worker/base_runc_config.json +++ b/pkg/worker/base_runc_config.json @@ -420,6 +420,18 @@ "type": "bind", "source": "/workspace/sdk", "options": ["ro", "rbind", "rprivate", "nosuid", "nodev"] + }, + { + "destination": "/run/sshd", + "type": "tmpfs", + "source": "tmpfs", + "options": [ + "nosuid", + "nodev", + "noexec", + "mode=0755", + "size=65536k" + ] } ], "hooks": {