We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 288ba0b commit 4052094Copy full SHA for 4052094
Github/Runners/ubuntu-systemd-base.dockerfile
@@ -103,10 +103,15 @@ EOS
103
##Install Docker
104
RUN <<EOS
105
#Install Docker
106
- rm -rf "/var/lib/apt/lists/"*
107
- cd "$(mktemp -d)" >/dev/null 2>&1
108
- curl -qfsSL "https://get.docker.com" -o "./get-docker.sh" && sh "./get-docker.sh"
109
- cd - >/dev/null 2>&1
+ if [ "$(uname -m)" == "riscv64" ]; then
+ apt update -y -qq
+ apt install "docker.io" -y
+ else
110
+ rm -rf "/var/lib/apt/lists/"*
111
+ cd "$(mktemp -d)" >/dev/null 2>&1
112
+ curl -qfsSL "https://get.docker.com" -o "./get-docker.sh" && sh "./get-docker.sh"
113
+ cd - >/dev/null 2>&1
114
+ fi
115
#Add runner to docker
116
usermod -aG "docker" "runner"
117
#Add Docker Completions
0 commit comments