<div dir="ltr">Hi!<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 28, 2016 at 2:37 PM, Didier Roche <span dir="ltr"><<a href="mailto:didrocks@ubuntu.com" target="_blank">didrocks@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> It is possible to imagine some tool to transform a docker recipe to<br>
> snappy ?<br>
> Example: <a href="https://github.com/discourse/discourse_docker" rel="noreferrer" target="_blank">https://github.com/discourse/<wbr>discourse_docker</a></span></blockquote><div><br></div><div>I dont think we have a discourse snap (yet), albeit some people seem to consider this would be an <a href="https://meta.discourse.org/t/has-anyone-considered-ubuntu-snap-format-for-deploying-discourse/51719">excellent idea</a> :-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't think transforming a dockerfile directly in a snap would work.<br>
Indeed, you are running scripts, don't necessarily have you stack<br>
location in relocatable path and such. I feel this will more error out<br>
and take more time to do the final conversion than being beneficial.<br>
<br>
However, as a transition solution, I know we have some docker snap.<br>
Loïc (who worked on snapping docker), is it possible to turn this into a<br>
docker part and embed the image + docker itself, while pointing at the<br>
entry point?<br></blockquote><div><br></div><div>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:</div><div>- install docker snap</div><div>- 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)</div><div>(I don't have an example of such a snap)<br></div><div><br></div><div>@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?</div><div><br></div><div>Thanks for your work on getting Discourse on snappy systems! :-)</div><div><br></div><div>Cheers,</div></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Loïc Minier</div></div>
</div></div>