feature: Allow specifying Docker build target #2578
Labels
contributors/good-first-issue
Good first issue for a contributor
contributors/welcome
Contributors are welcome to work on this
priority/3-long-term
type/feature
Feature request
Description:
I'm trying to use the DockerBuildArgs option to use a specific target in my Dockerfile like so :
However it does not work. I'm getting multiple warnings from docker that build args were not consumed
Steps to reproduce:
Dockerfile like so
along with
sam build
Observed result:
Expected result:
I would be able to use a specific target with sam
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 1.15.0The text was updated successfully, but these errors were encountered: