diff --git a/images/github-runner/Dockerfile b/images/github-runner/Dockerfile index 35994ca..9ad9e0f 100644 --- a/images/github-runner/Dockerfile +++ b/images/github-runner/Dockerfile @@ -109,10 +109,15 @@ RUN chmod +x ./patched/runsvc.sh /usr/local/bin/startup.sh USER runner -ENV HTTP_PROXY="http://172.18.0.1:8118" -ENV HTTPS_PROXY="http://172.18.0.1:8118" -ENV http_proxy="http://172.18.0.1:8118" -ENV https_proxy="http://172.18.0.1:8118" +RUN wget https://github.com/docker/buildx/releases/download/v0.10.4/buildx-v0.10.4.linux-amd64 && \ + mkdir -p /home/runner/.docker/cli-plugins && \ + mv buildx-v0.10.4.linux-amd64 /home/runner/.docker/cli-plugins/docker-buildx && \ + chmod +x /home/runner/.docker/cli-plugins/docker-buildx + +ENV HTTP_PROXY="http://127.0.0.1:8118" +ENV HTTPS_PROXY="http://127.0.0.1:8118" +ENV http_proxy="http://127.0.0.1:8118" +ENV https_proxy="http://127.0.0.1:8118" COPY docker.default /etc/default/docker COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf diff --git a/images/github-runner/proxy.conf b/images/github-runner/proxy.conf index d22df5f..341a30d 100644 --- a/images/github-runner/proxy.conf +++ b/images/github-runner/proxy.conf @@ -1 +1 @@ -Acquire::http::Proxy "http://172.18.0.1:8118"; +Acquire::http::Proxy "http://127.0.0.1:8118"; diff --git a/images/github-runner/start-runner.sh b/images/github-runner/start-runner.sh index 2f34041..3000b70 100755 --- a/images/github-runner/start-runner.sh +++ b/images/github-runner/start-runner.sh @@ -40,7 +40,7 @@ do -v /casefold:/win_sdk \ --network none \ --device=/dev/kvm \ - uazo/github-runner:2.303.1 + uazo/github-runner:2.303.2 echo "You can stop now" sleep 5s