mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Update Dockerfile
fix for machine arch retrieval
This commit is contained in:
parent
f7e3591606
commit
40165c58b3
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,11 @@ RUN export PATH="/opt/vcpkg:${PATH}" \
|
||||||
&& vcpkg install --clean-after-build
|
&& vcpkg install --clean-after-build
|
||||||
|
|
||||||
# install SDRplay API
|
# 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 MAJVER="3.15" \
|
||||||
&& export MINVER="2" \
|
&& export MINVER="2" \
|
||||||
&& export VER=${MAJVER}.${MINVER} \
|
&& export VER=${MAJVER}.${MINVER} \
|
||||||
|
|
Loading…
Reference in a new issue