diff --git a/Dockerfile b/Dockerfile index 9784210..6e9592f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,8 @@ RUN apk add --no-cache \ py3-pip \ wget \ && python3 -m pip install --break-system-packages semgrep==1.154.0 \ - && wget -qO- "https://github.com/trufflesecurity/trufflehog/releases/download/v3.93.7/trufflehog_3.93.7_linux_amd64.tar.gz" \ + && ARCH="$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')" \ + && wget -qO- "https://github.com/trufflesecurity/trufflehog/releases/download/v3.93.7/trufflehog_3.93.7_linux_${ARCH}.tar.gz" \ | tar -xz -C /usr/local/bin trufflehog \ && chmod +x /usr/local/bin/trufflehog