diff --git a/Dockerfile b/Dockerfile index 06eb49e..d6e6aff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,12 @@ RUN dnf update -y && \ jq \ python3-pip && \ dnf group install -y "Development Tools" && \ - dnf clean all + dnf clean all && \ + case "$(uname -m)" in \ + x86_64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -O /usr/local/bin/yq ;; \ + aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -O /usr/local/bin/yq ;; \ + *) echo "Unsupported architecture: $ARCH" && exit 1 ;; \ + esac && \ + chmod +x /usr/local/bin/yq CMD ["/bin/bash"] \ No newline at end of file