Skip to content

Commit e84c737

Browse files
committed
fix
1 parent a49b883 commit e84c737

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build_gh_runner_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ jobs:
722722
with:
723723
context: /tmp/DOCKERFILES/
724724
file: "/tmp/DOCKERFILES/riscv64-ubuntu.dockerfile"
725-
platforms: "linux/amd64"
725+
platforms: "linux/riscv64"
726726
tags: |
727727
pkgforge/gh-runner-riscv64-ubuntu:latest
728728
pkgforge/gh-runner-riscv64-ubuntu:${{ env.DOCKER_TAG }}

Github/Runners/riscv64-ubuntu.dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,12 @@ EOS
102102
RUN <<EOS
103103
#Install Docker
104104
rm -rf "/var/lib/apt/lists/"*
105-
cd "$(mktemp -d)" >/dev/null 2>&1
106-
curl -qfsSL "https://get.docker.com" -o "./get-docker.sh" && sh "./get-docker.sh"
107-
cd - >/dev/null 2>&1
105+
#cd "$(mktemp -d)" >/dev/null 2>&1
106+
#curl -qfsSL "https://get.docker.com" -o "./get-docker.sh" && sh "./get-docker.sh"
107+
#cd - >/dev/null 2>&1
108+
apt install "docker.io" -y
108109
#Add runner to docker
110+
groupadd docker 2>/dev/null
109111
usermod -aG "docker" "runner"
110112
#Add Docker Completions
111113
curl -qfsSL "https://raw.githubusercontent.com/docker/docker-ce/master/components/cli/contrib/completion/bash/docker" > "/etc/bash_completion.d/docker.sh"

0 commit comments

Comments
 (0)