Hi Marcus,

Sometimes I use the docker images to build a simulator environment. the
docker images are built from tools/docker/Dockerfile
I have uploaded some images to
https://hub.docker.com/repository/docker/ustcweizhou/cloudstack-simulator

The docker images are very large indeed (1.78 GB after compression). I
think it is because of two reasons
(1) a jetty server is running , which requires the build of whole project
(2.0 GB, including .java, .class and .jar)
(2) run UI via `npm start` which it requires some npm components (~600GB in
ui/node_modules/)

I was thinking of installing cloudstack-management and cloudstack-ui
instead of running jetty/UI from source code.
I finally gave it up because there is no package for cloudstack simulator
on ubuntu 20.04 ( as said I normally use it for simulator).

-Wei

On Tue, 9 Nov 2021 at 18:15, 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