Skip to content

(core): Add ability to set docker networking config when bundling assets #21447

@maafk

Description

@maafk

Describe the feature

Ability to add --network flag when bundling assets with docker

Use Case

Developers in corporate environments that use locked down developer machines are often restricted in what networks are available to them, and in order to bundle assets properly within a docker container, they must be explicit in the network their container connects to

Proposed Solution

Add optional property to DockerRunOptions and BundlingOptions that would translate into --network {user provided option}

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.35.0

Environment details (OS name and version, etc.)

macos 12.4

Metadata

Metadata

Assignees

Labels

@aws-cdk/coreRelated to core CDK functionalityfeature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions