Snapping apps that have external dependencies


#1

I’ve been trying to snap a couple of apps now that don’t run stand-alone, and this is tripping me up big time atm.

Basically, some apps wants access to other apps and commands in the system; Because of confinement this is not possible without using classic confinement. But I would prefer not to do that.

Are there any good workarounds for this kind of thing?

Some examples:

Flutter - has the following dependencies:

  • bash
  • curl
  • git 2.x
  • mkdir
  • rm
  • unzip
  • which
  • xz-utils

Gobuffalo also has similar requirements where it wants access to docker, webpack, npm etc.

I could always add all the dependencies within the snap, but I’m wondering be nice if there is a easier approach?