mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
Cleanup jemalloc from mariadb because it's on base image now (#1448)
* Cleanup jemalloc from mariadb because it's on base image now * Update build.json
This commit is contained in:
@@ -8,19 +8,6 @@ RUN apk add --no-cache \
|
|||||||
mariadb-server-utils \
|
mariadb-server-utils \
|
||||||
pwgen
|
pwgen
|
||||||
|
|
||||||
# Install jemalloc
|
|
||||||
WORKDIR /usr/src
|
|
||||||
ARG JEMALLOC_VERSION
|
|
||||||
RUN apk add --no-cache --virtual .build-deps \
|
|
||||||
build-base \
|
|
||||||
&& curl -L -s https://github.com/jemalloc/jemalloc/releases/download/${JEMALLOC_VERSION}/jemalloc-${JEMALLOC_VERSION}.tar.bz2 | tar -xjf - -C /usr/src \
|
|
||||||
&& cd /usr/src/jemalloc-${JEMALLOC_VERSION} \
|
|
||||||
&& ./configure \
|
|
||||||
&& make \
|
|
||||||
&& make install \
|
|
||||||
&& apk del .build-deps \
|
|
||||||
&& rm -rf /usr/src/jemalloc-${JEMALLOC_VERSION}
|
|
||||||
|
|
||||||
ENV \
|
ENV \
|
||||||
LD_PRELOAD="/usr/local/lib/libjemalloc.so.2" \
|
LD_PRELOAD="/usr/local/lib/libjemalloc.so.2" \
|
||||||
S6_SERVICES_GRACETIME=18000
|
S6_SERVICES_GRACETIME=18000
|
||||||
|
|||||||
@@ -5,8 +5,5 @@
|
|||||||
"armhf": "homeassistant/armhf-base:3.12",
|
"armhf": "homeassistant/armhf-base:3.12",
|
||||||
"armv7": "homeassistant/armv7-base:3.12",
|
"armv7": "homeassistant/armv7-base:3.12",
|
||||||
"i386": "homeassistant/i386-base:3.12"
|
"i386": "homeassistant/i386-base:3.12"
|
||||||
},
|
|
||||||
"args": {
|
|
||||||
"JEMALLOC_VERSION": "5.2.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user