Merge pull request 'fix: add yq installation to Dockerfile for YAML processing support' (#2) from add-yq into main
All checks were successful
Run Actions / build-and-push-image (push) Successful in 2s
Build and publish Docker image / build-and-push (push) Successful in 19m17s

Reviewed-on: #2
This commit is contained in:
2025-05-08 11:37:11 -05:00

View File

@@ -13,6 +13,12 @@ RUN dnf update -y && \
jq \ jq \
python3-pip && \ python3-pip && \
dnf group install -y "Development Tools" && \ 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"] CMD ["/bin/bash"]