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
main
Florent Daigniere 2 years ago
parent 8d392e8056
commit 97df65e9ef

@ -12,7 +12,8 @@ ARG MAILU_GID=1000
RUN set -euxo pipefail \ RUN set -euxo pipefail \
; addgroup -Sg ${MAILU_GID} mailu \ ; addgroup -Sg ${MAILU_GID} mailu \
; adduser -Sg ${MAILU_UID} -G mailu -h /app -g "mailu app" -s /bin/bash 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 WORKDIR /app

@ -0,0 +1 @@
Switch to GrapheneOS's hardened_malloc
Loading…
Cancel
Save