Skip to content

Commit

Permalink
Downgrade to 23.10, waiting for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Mar 6, 2024
1 parent 3bf8371 commit a1adbf1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.base.ubuntu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
ARG UBUNTU_VERSION=24.04
ARG UBUNTU_VERSION=23.10
FROM ubuntu:${UBUNTU_VERSION}

ARG INSTALL_NAMESPACE=/opt/gh-runner-krunvm
Expand Down
13 changes: 5 additions & 8 deletions base/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,10 @@ install_docker() {
dnf -y install docker-ce-cli docker-buildx-plugin docker-compose-plugin
;;
ubuntu)
apt_install \
apt-transport-https \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
install -m 755 -d /etc/apt/keyrings
wget -qO- https://download.docker.com/linux/ubuntu/gpg | tee /etc/apt/keyrings/docker.asc > /dev/null
chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt_install docker-ce docker-ce-cli containerd.io
;;
*)
Expand All @@ -201,8 +199,7 @@ install_gh() {
dnf -y install gh
;;
ubuntu)
# shellcheck disable=SC2174
mkdir -p -m 755 /etc/apt/keyrings
install -m 755 -d /etc/apt/keyrings
wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
Expand Down

0 comments on commit a1adbf1

Please sign in to comment.