allow more/all Docker build options #3466
Labels
area/deployment
Issues related to deployments
type/enhancement
Issues that are improvements for existing features.
Docker has many options to use with
docker build
: https://docs.docker.com/engine/reference/commandline/build/#options.Copilot currently supports only a handful of these flags under
image.build
:Copilot users are interested in leveraging other options, for instance, this user, who wants to use
--no-cache
.Users could have much more control over their builds if we just injected all key-value pairs as flag-value pairs when running the
docker build
command. We would have to figure out how to handle flags that don't require values, as well as whether to prohibit any incompatible flags/validate in some way.Benefits are that users have more flexibility and that Copilot maintainers don't have to keep up with Docker's options.
One drawback is an increased possibility of build failure.
The text was updated successfully, but these errors were encountered: