spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.67k stars 575 forks source link

Anyway to call Docker Squash Experimental Option #317

Closed cwolfinger closed 6 years ago

cwolfinger commented 7 years ago

Is there a way to call the Docker Squash experimental option ? it is currently a query parameter passed into the build image command:

https://docs.docker.com/engine/api/v1.26/#operation/ImageBuild

Deklin commented 7 years ago

+1 on this, but more how about a generic way to pass additional CLI to docker as an overall solution.

mattnworb commented 7 years ago

@deklin the plugin communicates with docker via the Remote API and not the CLI, so there isn't any way to pass arbitrary flags or arguments as you would on the CLI.

Deklin commented 7 years ago

@mattnworb ah ! Thanks I wasn't aware of that.