From eaa808927e5eeacb0af0375d8cdcd8e19acffc36 Mon Sep 17 00:00:00 2001 From: h0lybyte <5599058+h0lybyte@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:16:24 -0500 Subject: [PATCH] ci(fudster): updated the malloc. https://github.com/KBVE/kbve/issues/3490 --- apps/fudster/Dockerfile | 9 +++++++++ apps/fudster/README.md | 1 + apps/fudster/project.json | 6 +++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/fudster/Dockerfile b/apps/fudster/Dockerfile index 8b3074a84..59c0214ca 100644 --- a/apps/fudster/Dockerfile +++ b/apps/fudster/Dockerfile @@ -49,6 +49,15 @@ RUN mvn clean package -T 1C -DskipTests -Dmaven.test.skip=true -Dparallel=all ############ FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntujammy +RUN apt-get update && \ + apt-get install -y --no-install-recommends libjemalloc2 libjemalloc-dev && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 +ENV MALLOC_CONF="background_thread:true,dirty_decay_ms:1000,muzzy_decay_ms:1000,lg_tcache_max:16,narenas:4,oversize_threshold:8388608" + + RUN apt-get update && \ apt-get install -y --no-install-recommends \ openjdk-11-jre \ diff --git a/apps/fudster/README.md b/apps/fudster/README.md index 00f102ec6..3e85c0fe2 100644 --- a/apps/fudster/README.md +++ b/apps/fudster/README.md @@ -7,6 +7,7 @@ A python library that helps with mL application development through using REST/W These are notes for the development of the Fudster package. The docker image is released under `kbve/fudster`. +Next update was the malloc changes. ### Packages diff --git a/apps/fudster/project.json b/apps/fudster/project.json index 285108e8c..96917c789 100644 --- a/apps/fudster/project.json +++ b/apps/fudster/project.json @@ -72,15 +72,15 @@ "metadata": { "images": ["kbve/fudster"], "load": true, - "tags": ["1.03", "1.03.0"] + "tags": ["1.04", "1.04.0"] }, "configurations": { "local": { - "tags": ["1.03", "1.03.0"], + "tags": ["1.04", "1.04.0"], "push": false }, "production": { - "tags": ["1.03", "1.03.0"], + "tags": ["1.04", "1.04.0"], "push": true, "customBuildOptions": "--push", "cache-from": [