-
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.
updated to ubuntu 22.04 runner and updated build script
- Loading branch information
1 parent
5a98495
commit 8e406e4
Showing
3 changed files
with
27 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
24 changes: 24 additions & 0 deletions
24
...gitlab-runner-hetzner-autoscale/install-scripts/hetzner-ubuntu-2204-docker-fastinstall.sh
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,24 @@ | ||
#!/bin/bash | ||
|
||
echo "Starting Hetzner Ubuntu 22.04 optimized fast docker install ..." | ||
|
||
# pin docker to 19.03* | ||
#sudo tee /etc/apt/preferences.d/200_docker-ce > /dev/null <<EOT | ||
#Package: docker-ce* | ||
#Pin: version 5:19.03* | ||
#Pin-Priority: 1001 | ||
#EOT | ||
|
||
mkdir -p /etc/apt/keyrings | ||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | ||
|
||
echo \ | ||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ | ||
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null | ||
|
||
apt-get install -y \ | ||
docker-ce \ | ||
docker-ce-cli \ | ||
containerd.io | ||
|
||
echo "Finished Hetzner Ubuntu 22.04 optimized fast docker install" |
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