disable CONFIG_NATIVE for hmalloc

This commit is contained in:
Wonderfall 2021-06-02 03:29:23 +02:00
parent d79ad113e3
commit a03f3ab955

View file

@ -25,12 +25,13 @@ ARG ALPINE_VERSION
FROM alpine:${ALPINE_VERSION} as build-malloc
ARG HARDENED_MALLOC_VERSION
ARG CONFIG_NATIVE=false
RUN apk --no-cache add build-base git gnupg && cd /tmp \
&& wget -q https://github.com/thestinger.gpg && gpg --import thestinger.gpg \
&& git clone --depth 1 --branch ${HARDENED_MALLOC_VERSION} https://github.com/GrapheneOS/hardened_malloc \
&& cd hardened_malloc && git verify-tag $(git describe --tags) \
&& make
&& make CONFIG_NATIVE=${CONFIG_NATIVE}
### Build GNU Libiconv (needed for nokogiri)