mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
simplify
This commit is contained in:
parent
d43e7f72df
commit
04f6bd2633
@ -15,8 +15,8 @@ RUN set -euxo pipefail \
|
|||||||
; 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 \
|
||||||
; machine="$(uname -m)" \
|
; machine="$(uname -m)" \
|
||||||
; ! [[ "${TARGETPLATFORM}" != linux/arm/v7 && \( "${machine}" == x86_64 || "${machine}" == armv8* || "${machine}" == aarch64 \) ]] \
|
; [[ "${TARGETPLATFORM}" != linux/arm/v7 && \( "${machine}" == x86_64 || "${machine}" == armv8* || "${machine}" == aarch64 \) ]] \
|
||||||
|| apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing hardened-malloc
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing hardened-malloc
|
||||||
|
|
||||||
ENV LD_PRELOAD=/usr/lib/libhardened_malloc.so
|
ENV LD_PRELOAD=/usr/lib/libhardened_malloc.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user