Allow assets:precompile to be run in a production build step without passing in RAILS_MASTER_KEY by dhh · Pull Request #46760 · rails/rails
When compiling assets in production as part of an image build step, it's inconvenient to have to pass in the real RAILS_MASTER_KEY. So allow passing in a dummy secret_key_base, just like we do ...