From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: VM for org-based reproducible environment? Date: Tue, 24 Jan 2017 10:19:40 +0100 Message-ID: <871svs24sz.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVxH3-0006UA-Js for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 04:20:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVxH0-0003x9-Dp for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 04:20:21 -0500 Received: from [195.159.176.226] (port=43194 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVxH0-0003wX-70 for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 04:20:18 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cVxGl-0002jY-27 for emacs-orgmode@gnu.org; Tue, 24 Jan 2017 10:20:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Matt Price writes: > I'd like to provide a way for people to copy my course materials in the > easiest possible way. At present my export & grading processes rely on some > customization of various tools, mostly emacs-based. So I'm thinking the > easiest thing might be fore me to define a virtual machine, maybe > docker-based, and distribute that. Docker might be handy if you need a whole array of tools, say R, Org, a number of libraries etc etc. It's not too complicated to created new docker images and you can host/compile them on "dockerhub". You can find the files that create docker images on e.g. github. Personally, I use an external config.el file to publish files against the ELPA version of Org. Something like, emacs --batch --no-init-file --load paper-config/org-conf.el --find-file $1 --funcall $2 In addition, I compile the papers with gitlab-ci. You can include instructions of what software is needed in the .gitlab-ci.yml. You might also be able to use something like Guix. I think it can even be used to create docker images these days. Hope it helps, Rasmus -- History is what should never happen again