mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
try different approach
This commit is contained in:
parent
009643cf73
commit
4e7cc2e117
3 changed files with 3 additions and 3 deletions
|
@ -13,6 +13,7 @@ env:
|
||||||
- QEMU_ARCH=arm ARCH=armhf
|
- QEMU_ARCH=arm ARCH=armhf
|
||||||
- QEMU_ARCH=aarch64 ARCH=arm64
|
- QEMU_ARCH=aarch64 ARCH=arm64
|
||||||
script:
|
script:
|
||||||
|
- if [ "$ARCH" != "amd64" ]; then curl -L -o qemu-$ARCH-static https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-$QEMU_ARCH-static; chmod u+x qemu-$QEMU_ARCH-static; fi
|
||||||
- docker run --rm --privileged multiarch/qemu-user-static:register
|
- docker run --rm --privileged multiarch/qemu-user-static:register
|
||||||
- docker build -t $REPO:$COMMIT-$ARCH -f Dockerfile.$ARCH .
|
- docker build -t $REPO:$COMMIT-$ARCH -f Dockerfile.$ARCH .
|
||||||
after_success:
|
after_success:
|
||||||
|
|
|
@ -4,7 +4,7 @@ FROM lsiobase/alpine.python.arm64:3.7
|
||||||
ENV PYTHONIOENCODING="UTF-8"
|
ENV PYTHONIOENCODING="UTF-8"
|
||||||
ENV QEMU_VERSION v2.11.0
|
ENV QEMU_VERSION v2.11.0
|
||||||
|
|
||||||
ADD https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-arm-static /usr/bin
|
ADD qemu-aarch64-static /usr/bin
|
||||||
|
|
||||||
VOLUME /tv
|
VOLUME /tv
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,8 @@ FROM lsiobase/alpine.python.armhf:3.7
|
||||||
|
|
||||||
# set python to use utf-8 rather than ascii.
|
# set python to use utf-8 rather than ascii.
|
||||||
ENV PYTHONIOENCODING="UTF-8"
|
ENV PYTHONIOENCODING="UTF-8"
|
||||||
ENV QEMU_VERSION v2.11.0
|
|
||||||
|
|
||||||
ADD https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-arm-static /usr/bin
|
ADD qemu-arm-static /usr/bin
|
||||||
|
|
||||||
VOLUME /tv
|
VOLUME /tv
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue