aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-03-30 14:15:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2021-03-31 06:57:34 +0000
commitdc7edeb595ec84fa99456d117e58e15749c69049 (patch)
tree32dba7ae02e8fc266c46521e8ccd8217497878d0
parent993367143cfc1b658ff428fce4b32acdeec8967d (diff)
downloadaports-dc7edeb595ec84fa99456d117e58e15749c69049.tar.gz
aports-dc7edeb595ec84fa99456d117e58e15749c69049.tar.bz2
aports-dc7edeb595ec84fa99456d117e58e15749c69049.tar.xz
community/docker: build with GOARM=7 for armv7
-rw-r--r--community/docker/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/docker/APKBUILD b/community/docker/APKBUILD
index 09c1616c53..36d6e57462 100644
--- a/community/docker/APKBUILD
+++ b/community/docker/APKBUILD
@@ -4,7 +4,7 @@ pkgname=docker
pkgver=20.10.5
_cli_commit=55c4c88966a912ddb365e2d73a4969e700fc458f # https://github.com/docker/cli/commits/v$pkgver
_moby_commit=363e9a88a11be517d9e8c65c998ff56f774eb4dc # https://github.com/moby/moby/commits/v$pkgver
-pkgrel=1
+pkgrel=2
pkgdesc="Pack, ship and run any application as a lightweight container"
url="https://www.docker.io/"
arch="all"
@@ -74,6 +74,10 @@ build() {
export DISABLE_WARN_OUTSIDE_CONTAINER=1
unset CC # prevent possible ccache issues
+ case "$CARCH" in
+ armv7) export GOARM=7;;
+ esac
+
# libnetwork (docker-proxy)
msg "building docker-proxy"
cd "$_libnetwork_builddir"