diff --git a/justfile b/justfile index 1580db1d..44a9b7ea 100644 --- a/justfile +++ b/justfile @@ -125,11 +125,12 @@ compile-env *args: fill-out-dev-env-template ln -s /lib "${tmp_link}/lib" ln -s /sysroot "${tmp_link}/sysroot" ln -s /nix "${tmp_link}/nix" + mkdir I_HATE_YOU; docker run \ --rm \ --name dataplane-compile-env \ --tmpfs "/tmp:uid=$(id -u),gid=$(id -g),nodev,noexec,nosuid" \ - --tmpfs "/home/runner,uid=$(id -u),gid=$(id -g),mode=1777,exec" \ + --mount type=bind,source=$(pwd)/I_HATE_YOU,destination=/home/runner,bind-propagation=rprivate" \ --mount type=bind,source="$(pwd),destination=/work,bind-propagation=rprivate" \ --mount type=bind,source="${tmp_link},destination=/work/compile-env,bind-propagation=rprivate" \ --mount type=bind,source="$(pwd)/dev-env-template/etc/passwd,destination=/etc/passwd" \