Include lib for arm

This commit is contained in:
James Cole 2019-02-08 17:40:29 +01:00
parent e4a95e55ed
commit 21ddbd220a
3 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,15 @@
# build image
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# get qemu-arm-static binary
if [ "$TRAVIS_BRANCH" != "amd64" ]; then
mkdir tmp
pushd tmp && \
curl -L -o qemu-arm-static.tar.gz https://github.com/multiarch/qemu-user-static/releases/download/v2.6.0/qemu-arm-static.tar.gz && \
tar xzf qemu-arm-static.tar.gz && \
popd
fi
# build develop
if [ "$TRAVIS_BRANCH" == "develop" ]; then
echo "Build develop $ARCH"

View File

@ -1,6 +1,6 @@
FROM arm32v7/php:7.2.8-apache-stretch
ARG TARGETPLATFORM
#COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
ENV FIREFLY_PATH=/var/www/firefly-iii COMPOSER_ALLOW_SUPERUSER=1
LABEL version="1.3" maintainer="thegrumpydictator@gmail.com"

View File

@ -1,6 +1,6 @@
FROM arm32v7/php:7.2.8-apache-stretch
ARG TARGETPLATFORM
#COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
ENV FIREFLY_PATH=/var/www/firefly-iii COMPOSER_ALLOW_SUPERUSER=1
LABEL version="1.3" maintainer="thegrumpydictator@gmail.com"