@Loic, I take a look at the discourse project, they visibly don't want to support anything else than docker. There's no documentation about alternatives ways \o/ So it will be more difficult to create snaps
Searching more on Google, I find this, that could help : https://bcarlin.net/blog/discourse-without-docker.html But seems that creating discourse snap will be a little bit difficult, and the Discourse team doesn't ready to cooperate. But if someone success and PR them the snapcraf.yaml, it could help to open discourse installation on non-docker ready system (arm, x86) I don't know the relationship that Canonical have with Discourse, but some diplomatic-political stuff with upstream could help @Anca Good luck with this one ^^" Cheers Winael On Mon, Nov 28, 2016 at 3:33 PM Loïc Minier <[email protected]> wrote: > Hi! > > On Mon, Nov 28, 2016 at 2:37 PM, Didier Roche <[email protected]> wrote: > > > > It is possible to imagine some tool to transform a docker recipe to > > snappy ? > > Example: https://github.com/discourse/discourse_docker > > > I dont think we have a discourse snap (yet), albeit some people seem to > consider this would be an excellent idea > <https://meta.discourse.org/t/has-anyone-considered-ubuntu-snap-format-for-deploying-discourse/51719> > :-) > > I don't think transforming a dockerfile directly in a snap would work. > Indeed, you are running scripts, don't necessarily have you stack > location in relocatable path and such. I feel this will more error out > and take more time to do the final conversion than being beneficial. > > However, as a transition solution, I know we have some docker snap. > Loïc (who worked on snapping docker), is it possible to turn this into a > docker part and embed the image + docker itself, while pointing at the > entry point? > > > I wouldn't recommend embedding docker as a part to a snap because it > requires restricted interfaces to operate properly and we wouldn't want to > give these permissions to a large number of snaps; however, it would be > possible to: > - install docker snap > - install a discourse-docker snap which would contain the docker image > (import the latest image as shipped by the snap before "docker run"-ning it) > (I don't have an example of such a snap) > > @Anca, however it's likely simpler to snap Discourse! Have you tried this? > Did you face some questions that we can perhaps help you with? > > Thanks for your work on getting Discourse on snappy systems! :-) > > Cheers, > - Loïc Minier > -- > Snapcraft mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft >
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
