mirror of
https://github.com/Retropex/docker-bitcoind.git
synced 2025-06-02 23:42:29 +02:00
split chroot
This commit is contained in:
parent
8a07aa4543
commit
3e68ca6b71
@ -61,7 +61,14 @@ script:
|
|||||||
./.travis/build-amd64.sh
|
./.travis/build-amd64.sh
|
||||||
|
|
||||||
elif [[ "${ARCH}" = "arm" ]]; then
|
elif [[ "${ARCH}" = "arm" ]]; then
|
||||||
./.travis/build-arm.sh
|
wget https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.10.0/alpine-chroot-install \
|
||||||
|
&& echo 'dcceb34aa63767579f533a7f2e733c4d662b0d1b alpine-chroot-install' | sha1sum -c \
|
||||||
|
|| exit 1
|
||||||
|
|
||||||
|
chmod +x alpine-chroot-install
|
||||||
|
sudo ./alpine-chroot-install -a armv7 -b v3.9
|
||||||
|
|
||||||
|
/alpine/enter-chroot ./.travis/build-arm.sh
|
||||||
|
|
||||||
elif [[ ! -z "${ARCH}" ]]; then
|
elif [[ ! -z "${ARCH}" ]]; then
|
||||||
./.travis/pull-all.sh
|
./.travis/pull-all.sh
|
||||||
|
@ -1,16 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
wget https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.10.0/alpine-chroot-install \
|
|
||||||
&& echo 'dcceb34aa63767579f533a7f2e733c4d662b0d1b alpine-chroot-install' | sha1sum -c \
|
|
||||||
|| exit 1
|
|
||||||
|
|
||||||
chmod +x alpine-chroot-install
|
|
||||||
sudo ./alpine-chroot-install -a armv7 -b v3.9
|
|
||||||
|
|
||||||
/alpine/enter-chroot uname -a
|
|
||||||
/alpine/enter-chroot env
|
|
||||||
|
|
||||||
apk add docker
|
apk add docker
|
||||||
|
|
||||||
TAG="${SLUG}:${TRAVIS_TAG:-$TRAVIS_BRANCH}-${FROM}-linux-${ARCH}"
|
TAG="${SLUG}:${TRAVIS_TAG:-$TRAVIS_BRANCH}-${FROM}-linux-${ARCH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user