From 2af3f5c9a07170261df074a393f59a50a5f95da5 Mon Sep 17 00:00:00 2001 From: hoellen Date: Mon, 23 Feb 2026 16:34:20 +0100 Subject: [PATCH] fix: branch/tag naming conflict for hardened malloc --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92e08c1..fa0e9c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG PHP_VERSION=8.4 ARG NGINX_VERSION=1.28 ARG ALPINE_VERSION=3.23 -ARG HARDENED_MALLOC_VERSION=16 +ARG HARDENED_MALLOC_VERSION=14 ARG SNUFFLEUPAGUS_VERSION=0.13.0 ARG UID=1000 @@ -94,8 +94,8 @@ ARG VARIANT=light RUN apk --no-cache add build-base git openssh && cd /tmp \ && wget -q -O - https://github.com/thestinger.keys | while read -r key; do echo "thestinger@github.com $key"; done > allowed_signers \ && git config --global gpg.ssh.allowedSignersFile /tmp/allowed_signers \ - && git clone --depth 1 --branch ${HARDENED_MALLOC_VERSION} https://github.com/GrapheneOS/hardened_malloc \ - && cd hardened_malloc && git verify-tag $(git describe --tags) \ + && git clone --depth 1 https://github.com/GrapheneOS/hardened_malloc && cd hardened_malloc \ + && git checkout refs/tags/${HARDENED_MALLOC_VERSION} && git verify-tag $(git describe --tags) \ && make CONFIG_NATIVE=${CONFIG_NATIVE} VARIANT=${VARIANT}