From f68f794a73028ae66646771787df6d88122aff11 Mon Sep 17 00:00:00 2001 From: sdn-ninja Date: Fri, 20 Sep 2024 23:47:23 +0100 Subject: [PATCH] Update Dockerfile further fix --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59b5d95..b77b2bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,11 +27,10 @@ RUN export PATH="/opt/vcpkg:${PATH}" \ && vcpkg install --clean-after-build # install SDRplay API -RUN if [ $(uname -m) = "x86_64" ] || [ $(uname -m) = "amd64" ]; then \ - export ARCH="amd64"; \ - else \ - export ARCH=$(uname -m); \ - fi \ +RUN export ARCH=$(uname -m) \ + && if [ "$ARCH" = "x86_64" ]; then \ + ARCH="amd64"; \ + fi \ && export MAJVER="3.15" \ && export MINVER="2" \ && export VER=${MAJVER}.${MINVER} \