From 061d091c971ac8cb860f92e6e81c298dcffa8f26 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 12 Sep 2023 19:59:15 +0000 Subject: [PATCH] build(coredeps): only run `yum` if it is available musllinux is based on Alpine and has no yum --- scripts/coredeps/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coredeps/Dockerfile b/scripts/coredeps/Dockerfile index 62bda3040a..55b90d9f6e 100644 --- a/scripts/coredeps/Dockerfile +++ b/scripts/coredeps/Dockerfile @@ -6,4 +6,4 @@ FROM $BASEIMAGE RUN pipx install tox COPY install-rust.sh /scripts/ RUN /scripts/install-rust.sh -RUN yum install -y perl-IPC-Cmd +RUN if command -v yum; then yum install -y perl-IPC-Cmd; fi