Re: Octave minimal virtual image for development

Mike Miller <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
On Wed, May 06, 2020 at 14:36:29 -0400, Nicholas Jankowski wrote:
> seeing the difficulties the potential GSOD student has mentioned, plus
> other conversations about difficulties on Mac, Windows, etc., a virtualbox
> or equivalent image has been suggested several times.

I maintain something like that for docker. Anyone interested can pull
and use

    docker run registry.gitlab.com/mtmiller/docker-octave-dev

to get a development environment that is ready to pull and build Octave
from source.

> What would a minimal virtual box image prepared to clone/setup an Octave
> development environment look like? would it be of a reasonable size to
> include on the download server alongside the binary installers?  I know a
> fully setup virtual image can be big, and there are limits to reasonable
> server storage space.  But what about something with the just OS set up and
> a set of scripts to set up the cloned source and whatever build
> dependencies are needed? Maybe some of those dependencies could be
> preinstalled in the image if they aren't too hefty?

I would be interested in learning how to build and maintain a vagrant VM
image (box) for Octave development, if that would be useful to some in
addition to the docker image. It would probably be a couple GB, hosted
on the vagrant cloud.

I don't need it now, but someday I may have interest in building and
maintaining an AWS AMI for the same purpose, so ping me if that
interests anyone as well. LXD image? Other formats / integrations?

> Or at that point would it be more trouble than it's worth?  But maybe
> that's too much handholding? Easier to just make a wiki instruction set for
> 'download vb' 'setup linux vm' 'follow linux build instructions',
> especially if you're targeting a potential developer? (I guess such a VM
> would be useful for those trying to run the latest & greatest version of
> Octave too.)

For me it's not entirely about handholding, it's about simple reusable
building blocks that serve many uses. For example, I maintain docker
images for Octave because I use them for CI/CD on my Octave packages and
test scripts. But I know there are other uses, and if other users find
them useful to quickly spin up a development environment, run a program
with the latest version, or some other purpose I haven't thought of yet,
that's great too.

-- 
mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEjM8i8+X7hnRontVHj+du6+d1fSwFAl6zFXEACgkQj+du6+d1
fSxUsxAA28sXp47hJ54MEFmeT6cVMfCCHCTFCWEeMDzNDfqNx8jCagS8jeRiX2gO
3bxfKLk90m71xdVnW5NHqK74nNsmYJunhb3mds3TOpSRwG3UpZ9pyhQw4thp4a/8
w2n2sa6+IZfwWujRPCsnbWIA6vJF3MlBi6igPUI0/GXRMYI47WBk2gFB9HCKC6sG
IkjfyWpZBmX6bPyOXMIPMwUHYBiEccl9lgGmjxr5LSMpFs5wkVcENL8dptnoU8rd
Wl/u4Zx1Kl4mYzFYZGmUichdLBrSoa/7/FOW6I7bHKvShEOHN3PQRRk37kWSVY9K
xjDSawMshgsC5XFVAB6bOOSgn6/7mx2z6LdPRQHdKVSFDMK/MJCnxk8/7OYj4GWU
a5vHPPDBql+vqE+dJ8XYztszNPGp3RW7ls6d+B+IQimVv61gSL8LPcqI1Slhri4K
zGkTmu7WbluPrTgpzTNxFzSxa6uANWvD2uVWNOZoMoZMmhzX9R5aqeQVWoU5X+l+
n4/nXKf1ButjgcUmWgQ2HRrJNW6HlmJPQTNHdGPtD2a/3xu9v6w5ksSst8lARJVM
LcwUppmRd3SR22aooEm/nGZ7Aakvryvco/H/Z8XFIX7it2yYJ4BQxk2oxQRCSH+V
lh+v2BrR6/GyleX/ZvK5AL/MFj5I5ODRXHWJsYHRf1ZDVAt9hQ0=
=ze0D
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.