Change in docker-playground[master]: debian-stretch-titan: Use correct architecture of libfftranscode

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Nov 17 10:10:46 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/21156 )

Change subject: debian-stretch-titan: Use correct architecture of libfftranscode
......................................................................

debian-stretch-titan: Use correct architecture of libfftranscode

We cannot blindly assume that we're running on amd64.

Change-Id: I937d7b02a194244a62b79dbe6b78c27f7baabeb6
Related: OS#4727
---
M debian-stretch-titan/Dockerfile
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved; Verified



diff --git a/debian-stretch-titan/Dockerfile b/debian-stretch-titan/Dockerfile
index c5fd235..7420348 100644
--- a/debian-stretch-titan/Dockerfile
+++ b/debian-stretch-titan/Dockerfile
@@ -38,7 +38,8 @@
 # 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

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/21156
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I937d7b02a194244a62b79dbe6b78c27f7baabeb6
Gerrit-Change-Number: 21156
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201117/018fe2f2/attachment.htm>


More information about the gerrit-log mailing list