Skip to content

Commit

Permalink
ci(fudster): updated the malloc.
Browse files Browse the repository at this point in the history
  • Loading branch information
h0lybyte committed Dec 13, 2024
1 parent ae4754c commit eaa8089
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions apps/fudster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions apps/fudster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions apps/fudster/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit eaa8089

Please sign in to comment.