Yes, that makes sense. I’ve been playing with running in simulator mode for
non-hypervisor work. The main issue I run into doing it how you describe is
that there are linux-specific tests and scripts to successfully build and
run.

I think the main culprits are hypervisor tests that expect files like
/proc/meminfo and scripts with bash 4 arrays. Maybe some of that could be
fixed but I think building in Docker is a common and reasonable pattern too.

On Wednesday, November 17, 2021, Rohit Yadav <rohit.ya...@shapeblue.com>
wrote:

> Hi Marcus,
>
> I'm not sure about others, I don't use docker so can't reply.
>
> I like to build/develop/run/debug management server process outside of
> docker; just using mvn with an IDE for code-development and for attaching
> remote socket for breakpoints and debugging. I use mbx to create dev boxes (
> https://github.com/shapeblue/mbx), essentially the hypervisor alone runs
> as a nested VM but my mgmt server, MySQL server and NFS storage is all on
> my workstation.
>
>
> Regards.
>
> ________________________________
> From: Marcus <shadow...@gmail.com>
> Sent: Wednesday, November 17, 2021 03:00
> To: dev@cloudstack.apache.org <dev@cloudstack.apache.org>
> Subject: Re: Docker images
>
> I take the silence to perhaps mean that nobody is actively using the Docker
> image tooling, but maybe the conference was just too much of a distraction
> last week :-)
>
> Mainly I'm just wondering if I should be trying to improve the old stuff,
> or leaving it be and adding a new Dockerfile. The marvin bit is secondary.
>
>
>
>
> On Tue, Nov 9, 2021 at 10:15 AM Marcus <shadow...@gmail.com> wrote:
>
> > Hi all, I've been familiarizing myself with the Docker image tooling in
> > CloudStack, and I have a few questions.  I've been playing with a
> > multi-stage build that shrinks the image from ~4Gi to ~800Mi, packages
> just
> > the jar, some UI, and a JDK thinking that it might be more usable.
> >
> > 1) Is there anyone actively using these Dockerfiles? It might be
> > interesting to know what workflows they're a part of and whether they can
> > be changed or if new files should be created.
> >
> > 2) I see the Dockerfile.marvin points to a 'builds.cloudstack.org' to
> > pull a Marvin bundle, which seems to be down.  Do these artifacts need to
> > be moved to 'download.cloudstack.org' or is this just a temporary
> > outage, or is it only reachable from CI? I do see the 'latest' tag
> > pulls (which is three years old).
> >
>

Reply via email to