Skip to content

Commit

Permalink
hack 14
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 ec83dd8 commit c339680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ compile-env *args: fill-out-dev-env-template
--rm \
--name dataplane-compile-env \
--tmpfs "/tmp:uid=$(id -u),gid=$(id -g),nodev,noexec,nosuid" \
--tmpfs "/home/builder,uid=$(id -u),gid=$(id -g)" \
--tmpfs "/home/runner,uid=$(id -u),gid=$(id -g)" \
--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 Expand Up @@ -282,7 +282,7 @@ fill-out-dev-env-template:
declare -rxi UID
GID="$(id -g)"
declare -rxi GID
declare -rx USER=builder
declare -rx USER=runner
envsubst < dev-env-template/etc.template/group.template > dev-env-template/etc/group
envsubst < dev-env-template/etc.template/passwd.template > dev-env-template/etc/passwd

Expand Down

0 comments on commit c339680

Please sign in to comment.