app-containers/docker-compose - 5.1.4 (gentoo)

Search

Install

Install this version:

emerge -a =app-containers/docker-compose-5.1.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-containers/docker-compose-5.1.4

Or alternatively:

emerge --autounmask-write -a =app-containers/docker-compose-5.1.4

Package Information

Description:
Multi-container orchestration for Docker
Homepage:
https://github.com/docker/compose
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
5.1.4 9 ~amd64 ~arm64 2
View Raw Ebuild
# Copyright 2018-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

DESCRIPTION="Multi-container orchestration for Docker"
HOMEPAGE="https://github.com/docker/compose"
SRC_URI="https://github.com/docker/compose/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/compose/releases/download/v${PV}/compose-${PV}-vendor.tar.xz"
S="${WORKDIR}/compose-${PV}"

LICENSE="Apache-2.0"
SLOT="2"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test"

RDEPEND="
	|| (
		>=app-containers/docker-cli-29.5.2
		app-containers/podman[wrapper(+)]
	)
	app-containers/docker-credential-helpers
"
BDEPEND=">=dev-lang/go-1.25.5"

src_compile() {
	emake VERSION=v${PV}
}

src_test() {
	emake test
}

src_install() {
	exeinto /usr/libexec/docker/cli-plugins
	doexe bin/build/docker-compose
	dodoc README.md
}

pkg_postinst() {
	if ver_replacing -lt 2; then
		ewarn
		ewarn "docker-compose 2.x is a sub command of docker"
		ewarn "Use 'docker compose' from the command line instead of"
		ewarn "'docker-compose'"
		ewarn "If you need to keep 1.x around, please run the following"
		ewarn "command before your next --depclean"
		ewarn "# emerge --noreplace docker-compose:0"
	fi
}

Dependencies

RDEPEND

	|| (
		>=app-containers/docker-cli-29.5.2
		app-containers/podman[wrapper(+)]
	)
	app-containers/docker-credential-helpers

BDEPEND

>=dev-lang/go-1.25.5

Manifest for 5.1.4

Type File Size Source URLs
DIST docker-compose-5.1.4.gh.tar.gz 461373 bytes https://github.com/docker/compose/archive/v5.1.4.tar.gz