Explain how to install a release build in BUILDING.md by justinyaodu · Pull Request #379 · apple/container

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justinyaodu Thanks for the contribution! This makes sense.

Since it's necessary for BUILD_CONFIGURATION to be defined consistently across targets, could you amend this so it shows both commands?

BUILD_CONFIGURATION=release make all test integration
BUILD_CONFIGURATION=release make install

Of course you can set BUILD_CONFIGURATION in the environment; you can also set these as make variables (putting BUILD_CONFIGURATION after make) instead of using the environment. We can assume a certain amount of developer expertise with make and variables, just show the release version of these two commands, and let developers figure out what suits them best.