GoogleContainerTools / GoogleContainerTools/jib
How can I pass --from-platforms using plain Jib CLI?
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
In Gradle it's possible:
```
./gradlew -Djib.from.platforms="linux/amd64,linux/arm64"
```
But when I use CLI (I really use CLI in one of the projects):
```
jib ... --from-platforms="linux/amd64,linux/arm64"
```
this fails with
```
Unknown option: '--from-platforms=linux/amd64,linux/arm64'
Possible solutions: --from-credential-helper, --from-username, --from-password, --from
Usage: jib jar [-hV] [--allow-insecure-registries]
[--send-credentials-over-http]
[--base-image-cache=] [--console=]
[--creation-time=] [--from=]
[--image-format=]
[--image-metadata-out=] [--mode=]
[--name=] [--project-cache=]
-t= [-u=] [--verbosity=]
[--additional-tags=[,...]]...
[--entrypoint=[\s+...]]...
[--environment-variables==[,=...]]...
[--expose=[,...]]... [--jvm-flags=[,
...]]... [--labels==[,
=...]]... [--program-args=[,
...]]... [--volumes=[,...]]...
[--credential-helper= |
[--username= --password[=]] |
[[--to-credential-helper= |
[--to-username= --to-password[=]]]
[--from-credential-helper= |
[--from-username= --from-password[=]]]]]
[@...]
```
Contributor guide
Assessment
This issue has not been assessed yet.