Menu

Docker on Windows? or equivalent bundler

2021-08-12
2021-08-24
  • Brian Tiffin

    Brian Tiffin - 2021-08-12

    I don't really do the Docker / Cloud thing, and my know how is near non-existent.

    Is there a go to all-in bundler like Docker, for Windows?

    We should probably build something that can easily combine GnuCOBOL builds (and associated system libraries) with user programs. Something that will allow single file demos and ease showing off the small stuff and big program suites, without facing prerequisite problems on each machine encountered.

    Yeah, it'll eat more resources than necessary maybe, but it'll make it a lot easier to brag, and perhaps convince some sceptics about the beauty of COBOL on small tin.

    Have good, make well,
    Blue

     
    • Simon Sobisch

      Simon Sobisch - 2021-08-24

      You can run Docker on Windows and have both Windows and Linux containers running in there (for the later HyperV or WSL2 needs to be installed, if I glanced correctly over the docs).

      A "correct" build docker image should actually save system resources if it was build with a minimal OS like Alpine or minimal Debian, at least when compared to fat VMs.

      I think current RPMs and similar for most OS (they exist and are either relative current or community-provided packages can be added) are best (people can install those fast and even get rid of them later); for Windows we already have a "download, unpack, double-click set_env.cmd" solution. Community-provided Docker containers for GnuCOBOL also exist, as do online compilers.

      Yes, "official" docker containers someday would be nice. But so far I see no real need for those.

       
      • Brian Tiffin

        Brian Tiffin - 2021-08-24

        Sorry, I didn't log the context, Simon. From here

        https://sourceforge.net/p/gnucobol/discussion/cobol/thread/7bdb9c5f05/#3c24

        Michael was looking for a reliable way of packaging his COBOL programs for demos on other people's Windows machines without the associated hassles of installing support files.

        I was thinking that if we can docker-ize or something-something an all in builder, it would make it easier to brag about GnuCOBOL programs. All dependencies in a fat bundle.

        So, it might not be real need, but a desirable one, I think. Hassle free demos are better demos, without need for potential hems and haws during setup.

        Have good,
        Blue

         
        • Simon Sobisch

          Simon Sobisch - 2021-08-24

          I see. Then Docker is likely not the solution here because then the OP would need to build a docker container on its own, based on a GnuCOBOL runtime docker container + his program executable (possibly created on a matching GnuCOBOL compile container).
          Distributing the .so and let people install the libcob runtime package before is easier than this, one-time gathering the needed .dll's and the license files for those, then ship those as "gnucobol-runtime.zip" is likely also easier.

           

Anonymous
Anonymous

Add attachments
Cancel