official docs flow failed - use helper script install method instead

This commit is contained in:
Chad Curtis 2025-04-08 02:54:03 -04:00
parent 2039e24ee3
commit e8b17480a3

View file

@ -41,19 +41,8 @@ e2e-environment:
- apt update - apt update
- apt install -y ca-certificates curl - apt install -y ca-certificates curl
# Add Docker's official GPG key # Install docker via helper script
- install -m 0755 -d /etc/apt/keyrings - curl -fsSL https://get.docker.com | bash
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
- chmod a+r /etc/apt/keyrings/docker.asc
# Add Docker's APT repository
- |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
# Update APT sources and install docker
- apt update && apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
script: script:
- docker compose -f docker-compose.test.yml up -d --build - docker compose -f docker-compose.test.yml up -d --build
- end=$((SECONDS + 30)) - end=$((SECONDS + 30))