From c7f3400c1e96f1b4b582a68fa02adc242bb728fd Mon Sep 17 00:00:00 2001 From: f Date: Sat, 9 May 2020 15:48:02 -0300 Subject: [PATCH] usar jemalloc --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fb45730..1d7f6e91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,11 @@ # el mismo repositorio de trabajo. Cuando tengamos CI/CD algunas cosas # como el tarball van a tener que cambiar porque ya vamos a haber hecho # un clone/pull limpio. -FROM sutty/oxipng:latest as oxipng +FROM sutty/oxipng:latest AS oxipng +FROM sutty/jemalloc:latest AS jemalloc +RUN echo /home/builder/packages/home > /etc/apk/repositories +RUN apk add --no-cache jemalloc + FROM alpine:3.11.6 as build MAINTAINER "f " @@ -114,6 +118,8 @@ RUN install -m 755 /srv/http/sync_assets.sh /usr/local/bin/sync_assets # Instalar la configuraciĆ³n de monit RUN install -m 640 -o root -g root /srv/http/monit.conf /etc/monit.d/sutty.conf +COPY --from=jemalloc /usr/lib/libjemalloc.so.2 /usr/lib/libjemalloc.so + # Mantener estos directorios! VOLUME "/srv/http/data"