Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717086 - app-emulation/docker-compose: doesn't pull app-emulation/docker
Summary: app-emulation/docker-compose: doesn't pull app-emulation/docker
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-11 13:59 UTC by Alexander Kurakin
Modified: 2020-04-12 18:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurakin 2020-04-11 13:59:08 UTC
app-emulation/docker-compose: doesn't pull app-emulation/docker. Is it supposed behavior? Thanks!
Comment 1 Sebastian Pipping gentoo-dev 2020-04-11 14:17:36 UTC
Interesting question.  It's dependency dev-python/docker-py does not seem to depend on Docker either.  You could in theory set DOCKER_HOST to something that's not on your local machine.  If that was your case and we'd depend on docker as of today, someone else would open a ticket to get rid of that dependency maybe.

What do you think?
Comment 2 Alexander Kurakin 2020-04-11 14:21:45 UTC
Thanks for reply!

I don't know Gentoo traditions so good.

Maybe, `remote` flag? Off by default, I think. IMHO your scenario is not default.
Comment 3 Tomáš Mózes 2020-04-12 04:46:04 UTC
Cannot you even use a different engine like rkt?
Comment 4 Alexander Kurakin 2020-04-12 07:35:09 UTC
Not `remote` but `docker`, `rkt`, etc. flags, then?
Comment 5 Sebastian Pipping gentoo-dev 2020-04-12 17:03:02 UTC
I thought about it more and it's clear to me now that:

- Someone who aims at building docker images locally using docker-compose has a use case that dependencies on both docker and docker-compose and hence can be exacted to install both.

- The usual approach of printing helpful text about suggested packages in pkg_postinst does not seem needed because need of docker for local builds is obvious, in case of local builds.

- An use flag would not cause more trouble than good, e.g. needless rebuilds in case of change.

I would therefore like to close this ticket as "good enough as is".  Is that okay with you?
Comment 6 Alexander Kurakin 2020-04-12 17:05:43 UTC
Yes, thanks.
Comment 7 Sebastian Pipping gentoo-dev 2020-04-12 18:10:30 UTC
Great, thanks for your understanding!