This is an automated email from the ASF dual-hosted git repository.

weizhouapache pushed a commit to branch docker-image-build
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 56a233babf53d3cab7b0911ca66317aae45d73a4
Author: Wei Zhou <[email protected]>
AuthorDate: Mon Jul 13 12:04:30 2026 +0200

    tools: Build docker image
---
 .github/workflows/docker-cloudstack-simulator.yml |  1 +
 tools/docker/Dockerfile                           | 13 ++++++-------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/docker-cloudstack-simulator.yml 
b/.github/workflows/docker-cloudstack-simulator.yml
index ac778a48af5..c432d4717c4 100644
--- a/.github/workflows/docker-cloudstack-simulator.yml
+++ b/.github/workflows/docker-cloudstack-simulator.yml
@@ -21,6 +21,7 @@ on:
   push:
     branches:
       - main
+      - docker-image-build
     tags:
       - 4.*
       - 5.*
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index dcadfb3fead..9728f92515e 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -17,7 +17,7 @@
 #
 # CloudStack-simulator build
 
-FROM ubuntu:22.04
+FROM ubuntu:24.04
 
 LABEL Vendor="Apache.org" License="ApacheV2" Version="4.23.0.0-SNAPSHOT" 
Author="Apache CloudStack <[email protected]>"
 
@@ -34,7 +34,8 @@ RUN apt-get -y update && apt-get install -y \
     ipmitool \
     iproute2 \
     maven \
-    openjdk-11-jdk \
+    openjdk-17-jre-headless \
+    openjdk-17-jdk \
     python3-dev \
     python-is-python3 \
     python3-setuptools \
@@ -61,12 +62,10 @@ RUN find /var/lib/mysql -type f -exec touch {} \; && \
     mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH 
caching_sha2_password by ''" --connect-expired-password; \
     mvn -Pdeveloper -pl developer -Ddeploydb; \
     mvn -Pdeveloper -pl developer -Ddeploydb-simulator; \
-    MARVIN_FILE=`find /root/tools/marvin/dist/ -name "Marvin*.tar.gz"`; \
-    rm -rf /usr/bin/x86_64-linux-gnu-gcc && \
-    ln -s /usr/bin/gcc-10 /usr/bin/x86_64-linux-gnu-gcc; \
-    pip3 install $MARVIN_FILE
+    MARVIN_FILE=`find /root/tools/marvin/dist/ -name "[mM]arvin*.tar.gz"`; \
+    pip3 install $MARVIN_FILE --break-system-packages
 
-RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -; \
+RUN curl -sL https://deb.nodesource.com/setup_24.x | sudo -E bash -; \
     apt-get install -y nodejs; \
     cd ui && npm rebuild node-sass && npm install
 

Reply via email to