Skip to content

Commit c1ed017

Browse files
authored
chore(ci): Re-add docker-compose installation (vectordotdev#18415)
* chore(ci): Re-add docker-compose installation So that the bootstrap script installs docker-compose when used by scripts/environment/Dockerfile (but not in CI which already has it). Signed-off-by: Jesse Szwedko <[email protected]> * Fix capitalization Signed-off-by: Jesse Szwedko <[email protected]> * Correct architecture name Signed-off-by: Jesse Szwedko <[email protected]> * Fix url --------- Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 9f95026 commit c1ed017

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/environment/bootstrap-ubuntu-20.04.sh

+6
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ if ! [ -x "$(command -v docker)" ]; then
109109
usermod --append --groups docker ubuntu || true
110110
fi
111111

112+
# docker-compose
113+
if ! [ -x "$(command -v docker-compose)" ]; then
114+
curl -fsSL "https://github.com/docker/compose/releases/download/v2.20.3/docker-compose-linux-$(uname -m)" -o /usr/local/bin/docker-compose
115+
chmod +x /usr/local/bin/docker-compose
116+
fi
117+
112118
bash scripts/environment/install-protoc.sh
113119

114120
# Apt cleanup

0 commit comments

Comments
 (0)