[elbe-devel] [PATCH] docker: add python-debian package

Manuel Traut manut at linutronix.de
Wed Apr 18 14:58:41 CEST 2018


this fixes github issue #152

Within the docker container (branch release/v2.9.9), it is not possible to build the elbe examples:
```elbe at 08a747989b13:~$ /elbe/elbe initvm submit /elbe/examples/armhf-ti-beaglebone-black.xml
elbe control create_project failed.
Traceback (most recent call last):
  File "/elbe/elbe", line 62, in <module>
    mod = __import__(modname)
  File "/elbe/elbepack/commands/control.py", line 29, in <module>
    from elbepack.soapclient import ClientAction, ElbeSoapClient
  File "/elbe/elbepack/soapclient.py", line 27, in <module>
    import deb822   # package for dealing with Debian related data
ImportError: No module named deb822

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 contrib/dockerfile/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/dockerfile/Dockerfile b/contrib/dockerfile/Dockerfile
index 59a90462..7a1310f5 100644
--- a/contrib/dockerfile/Dockerfile
+++ b/contrib/dockerfile/Dockerfile
@@ -28,6 +28,7 @@ RUN export DEBIAN_FRONTEND noninteractive ;\
         python python-lxml \
         python-apt \
         python-apt \
+        python-debian \
         python-lxml \
         python-mako \
         python-mako \
-- 
2.17.0




More information about the elbe-devel mailing list