mirror of https://github.com/docker/docs.git
Make Compose-Switch version dynamic (#13922)
* Make Compose-Switch version dynamic Fixes https://github.com/docker/docker.github.io/issues/13914 * Update cli-command.md Fix typo by remove unneeded parenthesis. * Updating to the latest version Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
parent
8e925f8a6e
commit
0ead2583b5
|
@ -27,6 +27,7 @@ compose_file_v3: "3.9"
|
|||
compose_file_v2: "2.4"
|
||||
machine_version: "0.16.0"
|
||||
distribution_version: "2.7"
|
||||
compose_switch_version: "1.0.4"
|
||||
|
||||
# List of plugins to enable for local development builds. Mostly the same as
|
||||
# for production, but without the "jekyll-sitemap" plugin, which is not needed
|
||||
|
|
|
@ -112,7 +112,7 @@ To install Compose Switch manually:
|
|||
1. Download the `compose-switch` binary for your architecture
|
||||
|
||||
```console
|
||||
$ curl -fL https://github.com/docker/compose-switch/releases/download/v1.0.1/docker-compose-linux-amd64 -o /usr/local/bin/compose-switch
|
||||
$ curl -fL https://github.com/docker/compose-switch/releases/download/v{{site.compose_switch_version}}/docker-compose-linux-amd64 -o /usr/local/bin/compose-switch
|
||||
```
|
||||
|
||||
2. Run the following command to make it an executable:
|
||||
|
|
Loading…
Reference in New Issue