Change in osmo-ci[master]: docker: Add missing gsm-tester dependency and set environment

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/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Mon Feb 18 14:22:14 UTC 2019


Holger Freyther has uploaded this change for review. ( https://gerrit.osmocom.org/12936


Change subject: docker: Add missing gsm-tester dependency and set environment
......................................................................

docker: Add missing gsm-tester dependency and set environment

Add one more dependency for the osmo-gsm-tester (a separate patch
is coming to update the docs) and set a UTF-8 enabled environment
so we can have fancy log messages of the osmo-gsm-tester.

Change-Id: I23c3398ceb394b5fe0f2aeced405caf1d7e86df2
---
M docker/Dockerfile_osmocom_jenkins.amd64
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/36/12936/1

diff --git a/docker/Dockerfile_osmocom_jenkins.amd64 b/docker/Dockerfile_osmocom_jenkins.amd64
index 73440ae..48536ac 100644
--- a/docker/Dockerfile_osmocom_jenkins.amd64
+++ b/docker/Dockerfile_osmocom_jenkins.amd64
@@ -49,9 +49,18 @@
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y patchelf
 
 # Be able to run the osmo-gsm-tester
-RUN DEBIAN_FRONTEND=noninteractive  apt-get install -y dbus tcpdump sqlite3 python3 python3-yaml python3-mako python3-gi ofono python3-pip
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y dbus tcpdump sqlite3 python3 python3-yaml python3-mako python3-gi ofono python3-pip python3-usb
 RUN pip3 install git+git://github.com/podshumok/python-smpplib.git
 RUN pip3 install pydbus
+RUN pip3 install pysispm
 
 ADD http://git.osmocom.org/python/osmo-python-tests/patch /tmp/commit
 RUN git clone git://git.osmocom.org/python/osmo-python-tests && cd osmo-python-tests && ./contrib/jenkins.sh
+
+# Set a UTF-8 locale
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales
+
+RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
+    dpkg-reconfigure --frontend=noninteractive locales && \
+    update-locale LANG=en_US.UTF-8
+ENV LANG en_US.UTF-8

-- 
To view, visit https://gerrit.osmocom.org/12936
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I23c3398ceb394b5fe0f2aeced405caf1d7e86df2
Gerrit-Change-Number: 12936
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190218/fe1f7b37/attachment.htm>


More information about the gerrit-log mailing list