Skip to content

Commit

Permalink
hack 18
Browse files Browse the repository at this point in the history
sigh
  • Loading branch information
daniel-noland committed Oct 23, 2024
1 parent 8562e66 commit 2f4fbfd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,11 @@ compile-env *args: fill-out-dev-env-template
ln -s /nix "${tmp_link}/nix"
docker run \
--rm \
--read-only \
--name dataplane-compile-env \
--tmpfs "/tmp:uid=$(id -u),gid=$(id -g),nodev,noexec,nosuid" \
--mount "type=bind,source=$(pwd)/FAKE_HOME,destination=/home/runner,bind-propagation=rprivate" \
--mount type=bind,source="$(pwd),destination=/work,bind-propagation=rprivate,readonly" \
--mount type=bind,source="${tmp_link},destination=/work/compile-env,bind-propagation=rprivate,readonly" \
--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,readonly" \
--mount type=bind,source="$(pwd)/dev-env-template/etc/group,destination=/etc/group,readonly" \
--mount type=bind,source="${tmp_targetdir},destination=/work/target,bind-propagation=rprivate" \
Expand Down

0 comments on commit 2f4fbfd

Please sign in to comment.