add buildx

This commit is contained in:
Carmelo Messina 2023-05-01 17:08:28 +02:00
parent 789763aa43
commit 7d8f0cc0d5
3 changed files with 11 additions and 6 deletions

View File

@ -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

View File

@ -1 +1 @@
Acquire::http::Proxy "http://172.18.0.1:8118";
Acquire::http::Proxy "http://127.0.0.1:8118";

View File

@ -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