getporter / docker-compose-mixin

Porter mixin for the docker-compose CLI
https://getporter.org/mixins/docker-compose
Apache License 2.0
8 stars 12 forks source link

Make the version configurable at build #5

Closed carolynvs closed 3 years ago

carolynvs commented 4 years ago

Just like helm has a buildtime config to allow installing a specific version of the client, it would be great if we could do the same thing for docker-compose.

mixins:
  - docker-compose:
      clientVersion: 1.25.4

EDIT: Changed version -> clientVersion

vdice commented 4 years ago

👍 Only suggestion is to change version to clientVersion, assuming we intend to enable specifying the actual mixin version via version at some point in the future.

vdice commented 3 years ago

We might as well bump the default version for this mixin at the same time when implementing this. See https://docs.docker.com/compose/release-notes/