mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
official docs flow failed - use helper script install method instead
This commit is contained in:
parent
2039e24ee3
commit
e8b17480a3
1 changed files with 2 additions and 13 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue