docker: don't build containerd and runc, depend on pkgs that provide it
closes #4967
This commit is contained in:
parent
b532ffd6d4
commit
d77f6189cf
|
@ -1,10 +1,12 @@
|
||||||
# Template file for 'docker'
|
# Template file for 'docker'
|
||||||
pkgname=docker
|
pkgname=docker
|
||||||
version=18.09.3
|
version=18.09.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-ce-${version}"
|
wrksrc="${pkgname}-ce-${version}"
|
||||||
hostmakedepends="git go pkg-config curl cmake"
|
hostmakedepends="git go pkg-config curl cmake"
|
||||||
makedepends="libbtrfs-devel sqlite-devel device-mapper-devel libseccomp-devel libapparmor-devel libltdl-devel"
|
makedepends="libbtrfs-devel sqlite-devel device-mapper-devel libseccomp-devel
|
||||||
|
libapparmor-devel libltdl-devel"
|
||||||
|
depends="containerd runc"
|
||||||
short_desc="Pack, ship and run any application as a lightweight container"
|
short_desc="Pack, ship and run any application as a lightweight container"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -13,14 +15,14 @@ distfiles="https://github.com/docker/docker-ce/archive/v${version}.tar.gz"
|
||||||
checksum=28d01bbbba45b289027e963d0a5dc830a81b5dab9339a950a4c2505e1ee9a255
|
checksum=28d01bbbba45b289027e963d0a5dc830a81b5dab9339a950a4c2505e1ee9a255
|
||||||
|
|
||||||
# These are required at run-time.
|
# These are required at run-time.
|
||||||
depends="iptables xz git"
|
depends+=" iptables xz git"
|
||||||
nopie=yes
|
nopie=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
nocross=yes
|
nocross=yes
|
||||||
archs="x86_64* ppc64le*"
|
archs="x86_64* ppc64le*"
|
||||||
system_groups="docker"
|
system_groups="docker"
|
||||||
|
|
||||||
_docker_components="runc containerd tini proxy dockercli"
|
_docker_components="tini proxy dockercli"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd components/cli
|
cd components/cli
|
||||||
|
@ -48,9 +50,12 @@ pre_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${wrksrc}/components/engine/bundles/dynbinary-daemon/dockerd dockerd
|
vbin components/engine/bundles/dynbinary-daemon/dockerd dockerd
|
||||||
vbin ${wrksrc}/components/cli/build/docker docker
|
vbin components/cli/build/docker docker
|
||||||
vinstall ${wrksrc}/components/cli/contrib/completion/bash/docker 644 usr/share/bash-completion/completions
|
vinstall components/cli/contrib/completion/bash/docker 644 usr/share/bash-completion/completions
|
||||||
vinstall ${wrksrc}/components/cli/contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions
|
vinstall components/cli/contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions
|
||||||
|
vinstall components/cli/contrib/completion/fish/docker.fish 644 usr/share/fish_vendor_completions.d/docker.fish
|
||||||
|
vinstall components/engine/contrib/syntax/vim/syntax/dockerfile.vim 644 usr/share/vim/vimfiles/snytax/dockerfile.vim
|
||||||
|
vinstall components/engine/contrib/syntax/vim/ftdetect/dockerfile.vim 644 usr/share/vim/vimfiles/ftdetect/dockerfile.vim
|
||||||
vsv docker
|
vsv docker
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue