You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wa...@apache.org on 2026/04/03 02:00:41 UTC
(skywalking-showcase) branch loadgen created (now 3dd02e7)
This is an automated email from the ASF dual-hosted git repository.
wankai pushed a change to branch loadgen
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
at 3dd02e7 fix loadgen
This branch includes the following new commits:
new 3dd02e7 fix loadgen
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(skywalking-showcase) 01/01: fix loadgen
Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wankai pushed a commit to branch loadgen
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
commit 3dd02e78fd9099532369b3b2e98033a4bb08d8f4
Author: wankai123 <wa...@foxmail.com>
AuthorDate: Fri Apr 3 10:00:29 2026 +0800
fix loadgen
---
services/load-gen/Dockerfile | 4 ++--
services/load-gen/loadgen.py | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/services/load-gen/Dockerfile b/services/load-gen/Dockerfile
index 5b4699e..2c8459e 100644
--- a/services/load-gen/Dockerfile
+++ b/services/load-gen/Dockerfile
@@ -15,14 +15,14 @@
# specific language governing permissions and limitations
# under the License.
#
-FROM selenium/standalone-chrome:97.0-20250202
+FROM seleniarm/standalone-chromium:124.0
WORKDIR /home/seluser
COPY requirements.txt requirements.txt
COPY loadgen.py loadgen.py
-RUN sudo apt-get update && sudo apt-get install -y python3-pip python3-venv
+RUN sudo apt-get update && sudo apt-get install -y -o DPkg::Options::="--force-overwrite" python3-pip python3-venv
RUN sudo python3 -m venv python && sudo ./python/bin/pip3 install -r requirements.txt
CMD python/bin/python3 -u loadgen.py
diff --git a/services/load-gen/loadgen.py b/services/load-gen/loadgen.py
index 7051b87..80041bc 100644
--- a/services/load-gen/loadgen.py
+++ b/services/load-gen/loadgen.py
@@ -28,6 +28,9 @@ url = os.getenv('URL', 'http://frontend/index.html')
options = ChromeOptions()
options.add_argument("--headless")
+options.add_argument("--disable-dev-shm-usage")
+options.add_argument("--no-sandbox")
+options.add_argument("--disable-gpu")
driver = webdriver.Chrome(options=options)
while True: