GoogleContainerTools / GoogleContainerTools/jib

Add command arguments to dockerClient configuration

Open
#3,480 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:p3
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**Environment**:

- *Jib version:* Gradle plugin 3.1.4
- *Build tool:* Gradle
- *OS:* macOS

**Description of the issue**:

The dockerClient config flag is missing a configuration parameter for specifying extra arguments to the dockerClient CLI.

This is relevant for using alternative build tools like [nerdctl](https://github.com/containerd/nerdctl), where namespaces can be specified as command args when loading an image.

Loading is compatible with nerdctl and succeeds, but always builds to the default namespace. Of course a shell script wrapper can be used for this, but IMO this should be supported in jib.

**Expected behavior**:
**Steps to reproduce**:

Feature request, not a bug.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.