dockerd: fix build script
This commit is contained in:
parent
f29cd6f3de
commit
0c2bac5a03
@ -2,11 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://docs.docker.com/engine/
|
||||
TERMUX_PKG_DESCRIPTION="Server daemon process for building and containerizing applications."
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
# remember to update DOCKER_GITCOMMIT inside termux_step_make()
|
||||
# bellow when upgrading to a new version
|
||||
TERMUX_PKG_VERSION=20.10.2
|
||||
TERMUX_PKG_SRCURL=https://github.com/moby/moby/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=dc4818f0cba2ded2f6f7420a1fda027ddbf6c6c9fe319f84d1311bfe610447ca
|
||||
#TERMUX_PKG_DEPENDS="containerd"
|
||||
#TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686, x86_64"
|
||||
TERMUX_PKG_DEPENDS="containerd"
|
||||
TERMUX_PKG_CONFFILES="etc/docker/daemon.json"
|
||||
|
||||
termux_step_make() {
|
||||
# setup go build environment
|
||||
@ -20,7 +22,8 @@ termux_step_make() {
|
||||
# issue the build command
|
||||
export DOCKER_GITCOMMIT=8891c58a43
|
||||
export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_quota selinux exclude_graphdriver_aufs'
|
||||
while ! files=$(AUTO_GOPATH=1 PREFIX='' hack/make.sh dynbinary 2>&1 1>/dev/null); do xargs sed -i 's/\("runtime"\)/_ \1/' < <(echo $files | grep runtime | cut -d':' -f1 | cut -c38-); done
|
||||
# horrible but effective way to apply patches on the fly while compiling
|
||||
(while ! IFS='' files=$(AUTO_GOPATH=1 PREFIX='' hack/make.sh dynbinary 2>&1 1>/dev/null); do if ! xargs sed -i 's/\("runtime"\)/_ \1/' < <(echo $files | grep runtime | cut -d':' -f1 | cut -c38-); then echo $files; exit 1; fi; done)
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user