add-apt-repository and snapcraft cleanbuild?

Loïc Minier loic.minier at
Sun Oct 16 12:17:39 UTC 2016

Until the feature gets added to snapcraft, you can use a simple shell
script to start a container and setup the relevant deps, e.g. (script by

On Sat, Oct 15, 2016 at 8:26 PM, Dan Kegel <dank at> wrote:

> Hey all,
> Day 3 of using snapcraft, and I've managed to get
> both piglit and a proprietary app snapped and running.
> Snapcraft's learning curve is not too steep, kudos.
> Problem: I can't do 'snapcraft cleanbuild' on my proprietary
> apps because they depend on packages in a ppa and/or a
> private apt repo.
> Is there a way to specify add-apt-repository foo
> to be used during snapcraft cleanbuild?
> --
> Snapcraft mailing list
> Snapcraft at
> Modify settings or unsubscribe at:
> mailman/listinfo/snapcraft

- Loïc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Snapcraft mailing list