During development, we frequently need to have access to tools we don't need in production, e.g. vim, sudo, among others. As such, we would like to be able to add additional bootstrapping steps that only get executed if we are building a development image. We can probably achieve this by prefixing the script name with dev, e.g. 400-dev-install-power-tools.sh.
Acceptance Criteria
Enable the optional execution of bootstrapping files based on some criteria, e.g. file name.
Modify the scripts that we use for building and running the images, including the Docker Compose file, to support passing an argument to enable development mode.
Overview
During development, we frequently need to have access to tools we don't need in production, e.g. vim, sudo, among others. As such, we would like to be able to add additional bootstrapping steps that only get executed if we are building a development image. We can probably achieve this by prefixing the script name with
dev
, e.g.400-dev-install-power-tools.sh
.Acceptance Criteria