mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-19 20:19:24 +00:00
disable CONFIG_NATIVE for hmalloc (see #82)
This commit is contained in:
parent
090b87829c
commit
eb94272878
10
Dockerfile
10
Dockerfile
@ -68,11 +68,13 @@ ARG ALPINE_VERSION
|
|||||||
FROM alpine:${ALPINE_VERSION} as build-malloc
|
FROM alpine:${ALPINE_VERSION} as build-malloc
|
||||||
|
|
||||||
ARG HARDENED_MALLOC_VERSION
|
ARG HARDENED_MALLOC_VERSION
|
||||||
|
ARG CONFIG_NATIVE=false
|
||||||
|
|
||||||
RUN apk --no-cache add build-base && cd /tmp \
|
RUN apk --no-cache add build-base git gnupg && cd /tmp \
|
||||||
&& wget -q https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/${HARDENED_MALLOC_VERSION}.tar.gz \
|
&& wget -q https://github.com/thestinger.gpg && gpg --import thestinger.gpg \
|
||||||
&& mkdir hardened_malloc && tar xf ${HARDENED_MALLOC_VERSION}.tar.gz -C hardened_malloc --strip-components 1 \
|
&& git clone --depth 1 --branch ${HARDENED_MALLOC_VERSION} https://github.com/GrapheneOS/hardened_malloc \
|
||||||
&& cd hardened_malloc && make
|
&& cd hardened_malloc && git verify-tag $(git describe --tags) \
|
||||||
|
&& make CONFIG_NATIVE=${CONFIG_NATIVE}
|
||||||
|
|
||||||
|
|
||||||
### Fetch nginx
|
### Fetch nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user