aws / aws/aws-cdk

core.DockerBuildOptions: add option for pass flags to docker build command

Open
#30,988 1 comment 0 reactions 0 assignees View on GitHub
@aws-cdk/core effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

I'd like to pass flags to docker build, i.e. `-q` to suppress output, using `DockerBuildOptions`

### Use Case

I want to suppress log output by passing `-q` flag to docker build options.

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.150.0

### Environment details (OS name and version, etc.)

macOS Sonoma 14.5

Contributor guide

Open the contributing guide

Research direction

Locate DockerBuildOptions and the entry point that assembles the docker build command, then inspect nearby tests for option handling. Done means callers can provide build flags such as -q through DockerBuildOptions and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.