Update Dockerfile

fix for machine arch retrieval
This commit is contained in:
sdn-ninja 2024-09-18 00:42:08 +01:00 committed by GitHub
parent f7e3591606
commit 40165c58b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,11 @@ RUN export PATH="/opt/vcpkg:${PATH}" \
&& vcpkg install --clean-after-build
# install SDRplay API
RUN export ARCH=$(uname -m) \
RUN if [ $(uname -m) = "x86_64" ] || [ $(uname -m) = "amd64" ]; then \
export ARCH="amd64"; \
else \
export ARCH=$(uname -m); \
fi \
&& export MAJVER="3.15" \
&& export MINVER="2" \
&& export VER=${MAJVER}.${MINVER} \