palantir / gradle-docker

a Gradle plugin for orchestrating docker builds and pushes.
Apache License 2.0
748 stars 158 forks source link

Support target parameter for multi-stage Docker builds #605

Closed johndemic closed 1 year ago

johndemic commented 1 year ago

Before this PR

The plugin doesn't support the "target" parameter for "docker build"

After this PR

Added an optional "target" parameter that takes a single String specifying the target parameter for docker build

Possible downsides?

Don't think are any

palantirtech commented 1 year ago

Thanks for your interest in palantir/gradle-docker, @johndemic! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

changelog-app[bot] commented 1 year ago

Generate changelog in changelog-dir>`changelog/@unreleased`</changelog-dir

Type

- [ ] Feature - [ ] Improvement - [ ] Fix - [ ] Break - [ ] Deprecation - [ ] Manual task - [ ] Migration

Description

Support target parameter for multi-stage Docker builds ## Before this PR The plugin doesn't support the "target" parameter for "docker build" ## After this PR Added an optional "target" parameter that takes a single String specifying the target parameter for docker build ## Possible downsides? Don't think are any **Check the box to generate changelog(s)** - [ ] Generate changelog entry