mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
parent
284c81a069
commit
2962d5d943
1 changed files with 7 additions and 7 deletions
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'docker'
|
# Template file for 'docker'
|
||||||
pkgname=docker
|
pkgname=docker
|
||||||
version=17.06.0
|
version=17.09.0
|
||||||
revision=3
|
revision=1
|
||||||
_subversion='-ce'
|
_subversion='-ce'
|
||||||
_version="$version$_subversion"
|
_version="$version$_subversion"
|
||||||
wrksrc="$pkgname$_subversion-$_version"
|
wrksrc="$pkgname$_subversion-$_version"
|
||||||
build_wrksrc="components/engine"
|
build_wrksrc="components/engine"
|
||||||
hostmakedepends="git go pkg-config cmake"
|
hostmakedepends="git go pkg-config curl cmake"
|
||||||
makedepends="libbtrfs-devel sqlite-devel device-mapper-devel libseccomp-devel"
|
makedepends="libbtrfs-devel sqlite-devel device-mapper-devel libseccomp-devel"
|
||||||
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"
|
||||||
homepage="http://www.docker.io"
|
homepage="http://www.docker.io"
|
||||||
distfiles="https://github.com/docker/docker-ce/archive/v$_version.tar.gz"
|
distfiles="https://github.com/docker/docker-ce/archive/v$_version.tar.gz"
|
||||||
checksum=2898b27d5eaee7ff12ab3b277bda9b3cdf122f6803b1499d696977ac6bdcfa64
|
checksum=ef1d7f2c48824495e4109426ba85b75c09cc9463b9ba92703e25ffcbe14536ae
|
||||||
|
|
||||||
# These are required at run-time.
|
# These are required at run-time.
|
||||||
depends="iptables xz git"
|
depends="iptables xz git"
|
||||||
|
@ -31,7 +31,7 @@ do_build() {
|
||||||
pre_build() {
|
pre_build() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
sed -i "s|/usr/local|$DESTDIR/usr|g; s|apparmor ||g" hack/dockerfile/install-binaries.sh
|
sed -i "s|/usr/local|$DESTDIR/usr|g; s|apparmor ||g" hack/dockerfile/install-binaries.sh
|
||||||
AUTO_GOPATH=1 DOCKER_BUILDTAGS='seccomp' DOCKER_GITCOMMIT=v$_version \
|
AUTO_GOPATH=1 LDFLAGS='' DOCKER_BUILDTAGS='seccomp' DOCKER_GITCOMMIT=v$_version \
|
||||||
hack/dockerfile/install-binaries.sh \
|
hack/dockerfile/install-binaries.sh \
|
||||||
runc-dynamic \
|
runc-dynamic \
|
||||||
containerd-dynamic \
|
containerd-dynamic \
|
||||||
|
@ -42,7 +42,7 @@ pre_build() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin bundles/${_version}/dynbinary-daemon/dockerd-${_version} dockerd
|
vbin bundles/${_version}/dynbinary-daemon/dockerd-${_version} dockerd
|
||||||
vinstall contrib/completion/bash/docker 644 usr/share/bash-completion/completions
|
vinstall ${wrksrc}/components/cli/contrib/completion/bash/docker 644 usr/share/bash-completion/completions
|
||||||
vinstall contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions
|
vinstall ${wrksrc}/components/cli/contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions
|
||||||
vsv docker
|
vsv docker
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue