fix: add yq installation to Dockerfile for YAML processing support #2

Merged
admin merged 1 commits from add-yq into main 2025-05-08 11:37:11 -05:00
Showing only changes of commit af91b2be02 - Show all commits

View File

@@ -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"]