diff --git a/tests/scalability/prepare-ec2.sh b/tests/scalability/prepare-ec2.sh index 30c6d5654cb..73462e968b2 100755 --- a/tests/scalability/prepare-ec2.sh +++ b/tests/scalability/prepare-ec2.sh @@ -6,7 +6,7 @@ mkdir -p /cht chmod 777 /cht; # Install Docker CE -apt-get update --allow-insecure-repositories +apt-get update apt-get install -y \ apt-transport-https \ ca-certificates \ @@ -18,16 +18,16 @@ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o echo \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null -apt-get update --allow-insecure-repositories -apt-get install -y docker-ce docker-ce-cli containerd.io --allow-insecure-repositories +apt-get update +apt-get install -y docker-ce docker-ce-cli containerd.io # Install docker-compose curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" \ -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose -mkdir /cht/upgrade-service -mkdir /cht/compose +mkdir -p /cht/upgrade-service +mkdir -p /cht/compose curl -s https://raw.githubusercontent.com/medic/cht-upgrade-service/main/docker-compose.yml \ -o /cht/upgrade-service/docker-compose.yml