forked from actions/runner-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Ubuntu] remove Docker Comose v1 (actions#9559)" (actions#9617)
- Loading branch information
1 parent
9cd2175
commit a2c5844
Showing
6 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash -e | ||
################################################################################ | ||
## File: install-docker-compose.sh | ||
## Desc: Install Docker Compose v1 | ||
## Supply chain security: Docker Compose v1 - checksum validation | ||
################################################################################ | ||
|
||
# Source the helpers for use with the script | ||
source $HELPER_SCRIPTS/install.sh | ||
|
||
# Download docker-compose v1 from releases | ||
binary_path=$(download_with_retry "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64") | ||
|
||
# Supply chain security - Docker Compose v1 | ||
external_hash="f3f10cf3dbb8107e9ba2ea5f23c1d2159ff7321d16f0a23051d68d8e2547b323" | ||
use_checksum_comparison "${binary_path}" "${external_hash}" | ||
|
||
# Install docker-compose v1 | ||
install "${binary_path}" "/usr/local/bin/docker-compose" | ||
|
||
invoke_tests "Tools" "Docker-compose v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters