void-packages/srcpkgs/moby/template
2025-03-26 16:50:59 +00:00

34 lines
1 KiB
Bash

# Template file for 'moby'
# should be kept in sync with docker-cli
pkgname=moby
version=28.0.4
revision=1
build_style=go
go_import_path="github.com/docker/docker"
hostmakedepends="go pkg-config"
makedepends="libbtrfs-devel device-mapper-devel libseccomp-devel"
depends="containerd iptables xz"
short_desc="Container engine for the Docker ecosystem"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://www.docker.com"
changelog="https://github.com/moby/moby/releases"
distfiles="https://github.com/moby/moby/archive/v${version}.tar.gz"
checksum=4b347a2b83221952cab93197f6e9bc7ffe54dd4bd0a9644c176aecde551721ca
system_groups="docker"
make_check=no # no other tests are available
do_build() {
export AUTO_GOPATH=1
export DOCKER_GITCOMMIT="tag v${version}"
export DOCKER_BUILDTAGS="seccomp"
export DISABLE_WARN_OUTSIDE_CONTAINER=1
GOPATH="$PWD" VERSION="$version" hack/make.sh dynbinary
}
do_install() {
vbin bundles/dynbinary-daemon/dockerd
vbin bundles/dynbinary-daemon/docker-proxy
vsv docker
}