debian-stretch-titan: Use correct architecture of libfftranscode
We cannot blindly assume that we're running on amd64. Change-Id: I937d7b02a194244a62b79dbe6b78c27f7baabeb6 Related: OS#4727
This commit is contained in:
parent
ddf61d2453
commit
8368c2b973
|
@ -38,7 +38,8 @@ RUN sed -i 's/^#error/\/\/#error/' /usr/include/titan/cversion.h
|
|||
# binary-only transcoding library for RANAP/RUA/HNBAP to work around TITAN only implementing BER
|
||||
RUN apt-get update && \
|
||||
apt-get -y install wget
|
||||
RUN wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.3_amd64.deb && \
|
||||
wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.3_amd64.deb && \
|
||||
apt install ./libfftranscode0_0.3_amd64.deb ./libfftranscode-dev_0.3_amd64.deb && \
|
||||
RUN DPKG_ARCH="$(dpkg --print-architecture)" && export $DPKG_ARCH && \
|
||||
wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_0.3_${DPKG_ARCH}.deb && \
|
||||
wget https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_0.3_${DPKG_ARCH}.deb && \
|
||||
apt install ./libfftranscode0_0.3_${DPKG_ARCH}.deb ./libfftranscode-dev_0.3_${DPKG_ARCH}.deb && \
|
||||
rm libfftranscode*.deb
|
||||
|
|
Loading…
Reference in New Issue