This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 44185744780 simulator: use ubuntu 22.04 in Dockerfile (#6978)
44185744780 is described below
commit 441857447804f4ea80b209115d3efe33acb513c1
Author: Wei Zhou <[email protected]>
AuthorDate: Thu Jan 12 12:54:36 2023 +0100
simulator: use ubuntu 22.04 in Dockerfile (#6978)
---
tools/docker/Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 4417555467c..1933fef0532 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -17,7 +17,7 @@
#
# CloudStack-simulator build
-FROM ubuntu:20.04
+FROM ubuntu:22.04
MAINTAINER "Apache CloudStack" <[email protected]>
LABEL Vendor="Apache.org" License="ApacheV2" Version="4.18.0.0-SNAPSHOT"
@@ -45,7 +45,7 @@ RUN apt-get -y update && apt-get install -y \
RUN apt-get install -qqy mysql-server && \
apt-get clean all && \
- mkdir /var/run/mysqld; \
+ mkdir -p /var/run/mysqld; \
chown mysql /var/run/mysqld
RUN echo '''sql_mode =
"STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"'''
>> /etc/mysql/mysql.conf.d/mysqld.cnf
@@ -67,7 +67,7 @@ RUN find /var/lib/mysql -type f -exec touch {} \; && \
ln -s /usr/bin/gcc-10 /usr/bin/x86_64-linux-gnu-gcc; \
pip3 install $MARVIN_FILE
-RUN curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -; \
+RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -; \
apt-get install -y nodejs; \
cd ui && npm rebuild node-sass && npm install