aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/docker/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/docker/abuild')
-rw-r--r--repos/extra/docker/abuild50
1 files changed, 0 insertions, 50 deletions
diff --git a/repos/extra/docker/abuild b/repos/extra/docker/abuild
deleted file mode 100644
index c3bf8761..00000000
--- a/repos/extra/docker/abuild
+++ /dev/null
@@ -1,50 +0,0 @@
-name=docker
-version=29.2.1
-release=2
-source="https://github.com/${name}/cli/archive/v${version}/cli-v${version}.tar.gz
- https://github.com/moby/moby/archive/docker-v${version}/moby-${version}.tar.gz
- dockerd.run dockerd.conf"
-sv="dockerd.run dockerd.conf"
-
-build() {
- cd $SRC
- export GO111MODULE=auto
- export GOPATH=$SRC
- export DOCKER_GITCOMMIT=249d679
- export DOCKER_BUILDTAGS='seccomp'
- export DISABLE_WARN_OUTSIDE_CONTAINER=1
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
-
- mkdir -p src/github.com/docker
- cd src/github.com/docker
- ln -s $SRC/cli-$version cli
- cd cli
- make VERSION=$version GITCOMMIT=${DOCKER_GITCOMMIT} dynbinary
- make manpages
-
- cd $SRC/src/github.com/docker
- ln -s $SRC/moby-docker-v$version docker
- cd docker
- VERSION=$version hack/make.sh dynbinary
- cd $SRC
-
- install -D -m 0755 cli-$version/build/$name $PKG/usr/bin/$name
- install -D -m 0755 moby-docker-v$version/bundles/dynbinary-daemon/dockerd \
- $PKG/usr/bin/dockerd
- install -D -m 0755 moby-docker-v$version/bundles/dynbinary-daemon/docker-proxy \
- $PKG/usr/bin/docker-proxy
-
- install -dm755 $PKG/usr/share/man
- cp -r cli-$version/man/man* $PKG/usr/share/man
-
- 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
-
- mkdir -p $PKG/usr/lib/docker/cli-plugins
-}