diff --git a/images/Dockerfile.alpine b/images/Dockerfile.alpine index 53875236c..63f21a915 100644 --- a/images/Dockerfile.alpine +++ b/images/Dockerfile.alpine @@ -89,7 +89,8 @@ RUN apk --no-cache add \ #### Common to a Model #### ############################################################### FROM common AS generic -RUN if [ "${TARGETARCH}" = "amd64" ];then apk --no-cache add grub-bios; fi +ARG TARGETARCH +RUN if [ "${TARGETARCH}" == "amd64" ];then apk --no-cache add grub-bios; fi RUN apk --no-cache add \ bonding \ bridge \