add buildx
This commit is contained in:
parent
789763aa43
commit
7d8f0cc0d5
@ -109,10 +109,15 @@ RUN chmod +x ./patched/runsvc.sh /usr/local/bin/startup.sh
|
|||||||
|
|
||||||
USER runner
|
USER runner
|
||||||
|
|
||||||
ENV HTTP_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 && \
|
||||||
ENV HTTPS_PROXY="http://172.18.0.1:8118"
|
mkdir -p /home/runner/.docker/cli-plugins && \
|
||||||
ENV http_proxy="http://172.18.0.1:8118"
|
mv buildx-v0.10.4.linux-amd64 /home/runner/.docker/cli-plugins/docker-buildx && \
|
||||||
ENV https_proxy="http://172.18.0.1:8118"
|
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 docker.default /etc/default/docker
|
||||||
COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf
|
COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Acquire::http::Proxy "http://172.18.0.1:8118";
|
Acquire::http::Proxy "http://127.0.0.1:8118";
|
||||||
|
@ -40,7 +40,7 @@ do
|
|||||||
-v /casefold:/win_sdk \
|
-v /casefold:/win_sdk \
|
||||||
--network none \
|
--network none \
|
||||||
--device=/dev/kvm \
|
--device=/dev/kvm \
|
||||||
uazo/github-runner:2.303.1
|
uazo/github-runner:2.303.2
|
||||||
|
|
||||||
echo "You can stop now"
|
echo "You can stop now"
|
||||||
sleep 5s
|
sleep 5s
|
||||||
|
Loading…
Reference in New Issue
Block a user