how to use a shell variable inside another eval block
I want to evaluate a variable conditionally for use in my docker image build RUN ARCHFLAG="$(uname -m)" && ARCH=$([ $ARCHFLAG == "aarch64" ] && echo "arm64" || echo $ARCHFLAG) && curl -sL "https://get.helm.sh/helm-v${HELM_VERSION}-linux-${ARCH}.tar.gz" | tar -xvz && mv linux-${ARCH}/helm /usr/bin/helm…