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:
Pascal Vizeli
2020-07-13 15:18:18 +02:00
committed by GitHub
parent 29bc8a1457
commit 2dd3a853ad
2 changed files with 0 additions and 16 deletions

View File

@@ -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

View File

@@ -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"
} }
} }