From aedea49a9e86f1c0998b3c67a9820454ecdd69b2 Mon Sep 17 00:00:00 2001 From: gnought <1684105+gnought@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:47:20 +0800 Subject: [PATCH] chore: add cargo dep to build nginx-module-acme --- modules/Dockerfile | 2 +- modules/Dockerfile.alpine | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Dockerfile b/modules/Dockerfile index 2e77a040..f21be2e1 100644 --- a/modules/Dockerfile +++ b/modules/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get update \ && apt-get install -y --no-install-suggests --no-install-recommends \ patch make wget git devscripts debhelper dpkg-dev \ quilt lsb-release build-essential libxml2-utils xsltproc \ - equivs git g++ libparse-recdescent-perl \ + equivs git g++ libparse-recdescent-perl cargo \ && XSLSCRIPT_SHA512="f7194c5198daeab9b3b0c3aebf006922c7df1d345d454bd8474489ff2eb6b4bf8e2ffe442489a45d1aab80da6ecebe0097759a1e12cc26b5f0613d05b7c09ffa *stdin" \ && wget -O /tmp/xslscript.pl https://raw.githubusercontent.com/nginx/xslscript/9204424259c343ca08a18a78915f40f28025e093/xslscript.pl \ && if [ "$(cat /tmp/xslscript.pl | openssl sha512 -r)" = "$XSLSCRIPT_SHA512" ]; then \ diff --git a/modules/Dockerfile.alpine b/modules/Dockerfile.alpine index 2cdb2936..0c055f13 100644 --- a/modules/Dockerfile.alpine +++ b/modules/Dockerfile.alpine @@ -15,7 +15,7 @@ COPY ./ /modules/ RUN apk update \ && apk add linux-headers openssl-dev pcre2-dev zlib-dev openssl abuild \ musl-dev libxslt libxml2-utils make gcc unzip git \ - xz g++ coreutils curl \ + xz g++ coreutils curl cargo \ # allow abuild as a root user \ && printf "#!/bin/sh\\nSETFATTR=true /usr/bin/abuild -F \"\$@\"\\n" > /usr/local/bin/abuild \ && chmod +x /usr/local/bin/abuild \