This commit is contained in:
parent
ec9a12a983
commit
b5364e3bf9
@ -32,7 +32,7 @@ steps:
|
|||||||
- name: get qemu
|
- name: get qemu
|
||||||
image: busybox
|
image: busybox
|
||||||
commands:
|
commands:
|
||||||
- ./get_qemu.sh x86_64
|
- sh ./get_qemu.sh x86_64
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -63,7 +63,7 @@ steps:
|
|||||||
- name: get qemu
|
- name: get qemu
|
||||||
image: busybox
|
image: busybox
|
||||||
commands:
|
commands:
|
||||||
- ./get_qemu.sh arm
|
- sh ./get_qemu.sh arm
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -97,7 +97,7 @@ steps:
|
|||||||
- name: get qemu
|
- name: get qemu
|
||||||
image: busybox
|
image: busybox
|
||||||
commands:
|
commands:
|
||||||
- ./get_qemu.sh arm64
|
- sh ./get_qemu.sh arm64
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -8,7 +8,7 @@ cd build
|
|||||||
|
|
||||||
# Multiple args can be passed in, but in most cases (Makefile and .drone.yml) we only use one at a time
|
# Multiple args can be passed in, but in most cases (Makefile and .drone.yml) we only use one at a time
|
||||||
for target_arch in $*; do
|
for target_arch in $*; do
|
||||||
wget -N https://github.com/multiarch/qemu-user-static/releases/download/$VERSION/${HOST_ARCH}_qemu-${target_arch}-static.tar.gz
|
wget https://github.com/multiarch/qemu-user-static/releases/download/$VERSION/${HOST_ARCH}_qemu-${target_arch}-static.tar.gz
|
||||||
tar -xvf ${HOST_ARCH}_qemu-${target_arch}-static.tar.gz
|
tar -xvf ${HOST_ARCH}_qemu-${target_arch}-static.tar.gz
|
||||||
rm ${HOST_ARCH}_qemu-${target_arch}-static.tar.gz
|
rm ${HOST_ARCH}_qemu-${target_arch}-static.tar.gz
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user