docker: fix dockerd wrapper script installation

This commit is contained in:
Frederico F. de Oliveira 2021-01-24 06:19:50 +00:00 committed by Yaksh Bariya
parent 05ae83c37d
commit 7908264e36
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 6 additions and 5 deletions

View File

@ -113,14 +113,16 @@ termux_step_make() {
}
termux_step_make_install() {
install -Dm 0700 moby/bundles/dynbinary-daemon/dockerd ${TERMUX_PREFIX}/libexec/dockerd
install -Dm 0700 libnetwork/go/src/github.com/docker/libnetwork/docker-proxy ${TERMUX_PREFIX}/bin/docker-proxy
install -Dm 0700 cli/go/src/github.com/docker/cli/build/docker-android-* ${TERMUX_PREFIX}/bin/docker
install -Dm 700 moby/bundles/dynbinary-daemon/dockerd ${TERMUX_PREFIX}/libexec/dockerd
install -Dm 700 libnetwork/docker-proxy ${TERMUX_PREFIX}/bin/docker-proxy
install -Dm 700 cli/go/src/github.com/docker/cli/build/docker-android-* ${TERMUX_PREFIX}/bin/docker
install -Dm 600 -t ${TERMUX_PREFIX}/share/man/man1 cli/go/src/github.com/docker/cli/man/man1/*
install -Dm 600 -t ${TERMUX_PREFIX}/share/man/man5 cli/go/src/github.com/docker/cli/man/man5/*
install -Dm 600 -t ${TERMUX_PREFIX}/share/man/man8 cli/go/src/github.com/docker/cli/man/man8/*
install -Dm 0700 ${TERMUX_PKG_BUILDER_DIR}/dockerd ${TERMUX_PREFIX}/bin/dockerd
install -Dm 600 ${TERMUX_PKG_BUILDER_DIR}/daemon.json ${TERMUX_PREFIX}/etc/docker/daemon.json
sed -e "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" \
"${TERMUX_PKG_BUILDER_DIR}/dockerd.sh" > "${TERMUX_PREFIX}/bin/dockerd"
chmod 700 "${TERMUX_PREFIX}/bin/dockerd"
}
termux_step_create_debscripts() {
@ -134,4 +136,3 @@ termux_step_create_debscripts() {
echo 'https://github.com/moby/moby/blob/master/contrib/check-config.sh'
EOF
}