travis-run
travis-run copied to clipboard
Dependency
When using docker repository, its package is called lxc-docker
rather than docker.io
like in default Ubuntu repo.
Is it possible to specify that either docker.io
or lxc-docker
is good for travis-run
?
Currently I need to modify debian/control
to install it correctly
I don't really like/support using third party repositories. Also the package is only tested on Debian. Regrettably there is no standard way to support multiple Debian derived distributions in one package (AFAIK). The way you're meant to do this is package it in/for Ubuntu separately. And even then depending on a package that's not actually in the archive is most likely against the relevant policy.
Why do you need docker's version of the package anyways? If its to get more recent versions maybe you should look into backports.
Using Docker's repository I always have the most recent version, while in daily builds of Ubuntu (I'm on 15.04 already for a long time) available version is always significantly older, especially with pretty frequent updates of Docker.
Ok I think I know a way to make this less PITA. If I declare the dependecy on docker as a Reccomends instead of Depends then it will be installed by default but you can still install it without installing docker. So in your case dpkg -i
wont complain. Does that sound reasonable?
Yes, sounds good.