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
Sat Nov 14 21:55:10 UTC 2020


laforge has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/56/21156/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201114/31f2607f/attachment.htm>


More information about the gerrit-log mailing list