If the linter gem changes don't work out, we can edit this issue to only cover installing pwgen in Docker.
Yeah, let’s split this in two. The two additions were meant to shave a couple of steps off the dev setup, but if one of them is causing problems let us just set it aside.
I edited this issue to only include pwgen and not the linters gem, please feel free to resubmit a PR for that!
Tried bundle exec rails runner script/create_admin.rb in a newly built Docker image and it succeeded. pwgen was correctly installed. Looks good.