File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ set -eu -o pipefail
3
3
4
4
DOCKER_VERSION=20.10.6
5
5
DOCKER_RELEASE=" stable"
6
- DOCKER_COMPOSE_VERSION=1.27.4
6
+ DOCKER_COMPOSE_VERSION=1.28.6
7
7
MACHINE=$( uname -m)
8
8
9
9
# This performs a manual install of Docker.
@@ -47,7 +47,7 @@ elif [[ "${MACHINE}" == "aarch64" ]]; then
47
47
# https://github.com/docker/compose/issues/7472
48
48
CONSTRAINT_FILE=" /tmp/docker-compose-pip-constraint"
49
49
echo ' cryptography<3.4' > " $CONSTRAINT_FILE "
50
- sudo pip3 install --constraint " $CONSTRAINT_FILE " docker-compose
50
+ sudo pip3 install --constraint " $CONSTRAINT_FILE " " docker-compose== ${DOCKER_COMPOSE_VERSION} "
51
51
52
52
docker-compose version
53
53
else
Original file line number Diff line number Diff line change 2
2
$ErrorActionPreference = " Stop"
3
3
4
4
$docker_version = " 20.10.0"
5
+ $docker_compose_version = " 1.28.5"
5
6
6
7
Write-Output " Upgrading DockerMsftProvider module"
7
8
Update-Module - Name DockerMsftProvider - Force
@@ -15,7 +16,7 @@ Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVe
15
16
Start-Service docker
16
17
17
18
Write-Output " Installing docker-compose"
18
- choco install - y docker- compose
19
+ choco install - y docker- compose -- version $docker_compose_version
19
20
If ($lastexitcode -ne 0 ) { Exit $lastexitcode }
20
21
21
22
Write-Output " Installing jq"
You can’t perform that action at this time.
0 commit comments