verify hmalloc
This commit is contained in:
parent
28d24976b5
commit
89f87a713c
1 changed files with 5 additions and 4 deletions
|
@ -26,10 +26,11 @@ FROM alpine:${ALPINE_VERSION} as build-malloc
|
|||
|
||||
ARG HARDENED_MALLOC_VERSION
|
||||
|
||||
RUN apk --no-cache add build-base && cd /tmp \
|
||||
&& wget -q https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/${HARDENED_MALLOC_VERSION}.tar.gz \
|
||||
&& mkdir hardened_malloc && tar xf ${HARDENED_MALLOC_VERSION}.tar.gz -C hardened_malloc --strip-components 1 \
|
||||
&& cd hardened_malloc && make
|
||||
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
|
||||
|
||||
|
||||
### Build GNU Libiconv (needed for nokogiri)
|
||||
|
|
Loading…
Reference in a new issue