5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 01:31:42 +00:00

usar jemalloc

This commit is contained in:
f 2020-05-09 15:48:02 -03:00
parent 2f79be4654
commit c7f3400c1e

View file

@ -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 <f@sutty.nl>"
@ -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"