1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-18 03:21:36 +02:00

Switch to GrapheneOS's hardened_malloc

This was suggested during the dev meeting of the 18/09/22.

It may break things and it may make things unbearably slow
This commit is contained in:
Florent Daigniere 2022-11-11 13:56:04 +01:00
parent 8d392e8056
commit 97df65e9ef
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,8 @@ ARG MAILU_GID=1000
RUN set -euxo pipefail \
; addgroup -Sg ${MAILU_GID} mailu \
; adduser -Sg ${MAILU_UID} -G mailu -h /app -g "mailu app" -s /bin/bash mailu \
; apk add --no-cache bash ca-certificates curl python3 tzdata
; apk add --no-cache bash ca-certificates curl python3 tzdata \
; apk add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing hardened-malloc
WORKDIR /app

View File

@ -0,0 +1 @@
Switch to GrapheneOS's hardened_malloc