Skip to content

Commit

Permalink
hack 16
Browse files Browse the repository at this point in the history
even more wtf mate
  • Loading branch information
daniel-noland committed Oct 23, 2024
1 parent c064a74 commit 2910581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 2910581

Please sign in to comment.