mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* PowerShell and Docker Pester tests * no pester module * import pester * invoke docker with sudo * remove native test * add fix for az 1.0.0 module * revert powershellget installation * revert flag Force * add $ProgressPreference = "SilentlyContinue"
15 lines
628 B
Bash
15 lines
628 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: docker-compose.sh
|
|
## Desc: Installs Docker Compose
|
|
################################################################################
|
|
|
|
source $HELPER_SCRIPTS/invoke-tests.sh
|
|
|
|
# Install latest docker-compose from releases
|
|
URL=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("docker-compose-Linux-x86_64"))' | head -1)
|
|
curl -L $URL -o /usr/local/bin/docker-compose
|
|
chmod +x /usr/local/bin/docker-compose
|
|
|
|
invoke_tests "Tools" "Docker-compose"
|