From 27e084b9c0acb958ba21762e5317bfb6ea0a7fc1 Mon Sep 17 00:00:00 2001 From: hoellen Date: Wed, 4 Mar 2026 16:45:07 +0100 Subject: [PATCH] fix: git clone / docker build --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa0e9c5..2d8e9fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -93,9 +93,9 @@ 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 https://github.com/GrapheneOS/hardened_malloc && cd hardened_malloc \ - && git checkout refs/tags/${HARDENED_MALLOC_VERSION} && git verify-tag $(git describe --tags) \ + && git config --global gpg.ssh.allowedSignersFile /tmp/allowed_signers && git init hardened_malloc && cd hardened_malloc \ + && git fetch --depth 1 https://github.com/GrapheneOS/hardened_malloc tag ${HARDENED_MALLOC_VERSION} \ + && git checkout FETCH_HEAD && git verify-tag $(git describe --tags) \ && make CONFIG_NATIVE=${CONFIG_NATIVE} VARIANT=${VARIANT}