2016-05-25 18:06:12 -05:00
|
|
|
# Description: An open platform for distributed applications for developers and sysadmins
|
|
|
|
# URL: https://www.docker.com/
|
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
|
|
# Depends on: containerd runc btrfs-progs cgroupfs-mount
|
2014-02-12 01:24:08 +10:00
|
|
|
|
|
|
|
name=docker
|
2016-05-25 18:06:12 -05:00
|
|
|
version=1.11.1
|
|
|
|
release=3
|
|
|
|
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz \
|
|
|
|
http://jaeger.morpheus.net/linux/crux/files/$name-man-pages-$version.tar.xz \
|
|
|
|
$name.rc)
|
2014-02-12 01:24:08 +10:00
|
|
|
|
|
|
|
build() {
|
2016-05-25 18:06:12 -05:00
|
|
|
export AUTO_GOPATH=1
|
|
|
|
export DOCKER_GITCOMMIT=5604cbe
|
2014-02-12 01:24:08 +10:00
|
|
|
cd $name-$version
|
2016-05-25 18:06:12 -05:00
|
|
|
hack/make.sh dynbinary
|
2014-02-12 01:24:08 +10:00
|
|
|
|
2016-05-25 18:06:12 -05:00
|
|
|
install -D -m 0755 bundles/$version/dynbinary/$name-$version \
|
|
|
|
$PKG/usr/bin/$name
|
|
|
|
|
|
|
|
for M in 1 5 8; do
|
|
|
|
install -d -m 0755 $PKG/usr/share/man/man${M}
|
|
|
|
install -m 0644 $SRC/man${M}/* $PKG/usr/share/man/man${M}/
|
|
|
|
done
|
2014-02-12 01:24:08 +10:00
|
|
|
|
2016-05-25 18:06:12 -05:00
|
|
|
install -D -m 0755 $SRC/$name.rc \
|
|
|
|
$PKG/etc/rc.d/$name
|
2014-05-23 19:28:51 +10:00
|
|
|
|
2016-05-25 18:06:12 -05:00
|
|
|
ln -s containerd $PKG/usr/bin/docker-containerd
|
|
|
|
ln -s containerd-shim $PKG/usr/bin/docker-containerd-shim
|
|
|
|
ln -s ctr $PKG/usr/bin/docker-containerd-ctr
|
|
|
|
ln -s runc $PKG/usr/bin/docker-runc
|
2014-04-22 12:29:18 +10:00
|
|
|
|
2016-05-25 18:06:12 -05:00
|
|
|
install -D -m 0755 contrib/check-config.sh \
|
|
|
|
$PKG/usr/share/$name/check-config.sh
|
|
|
|
install -D -m 0644 contrib/udev/80-$name.rules \
|
|
|
|
$PKG/etc/udev/rules.d/80-$name.rules
|
|
|
|
install -D -m 0644 contrib/completion/bash/docker \
|
|
|
|
$PKG/etc/bash_completion.d/docker
|
2014-02-12 01:24:08 +10:00
|
|
|
}
|