Add necessary packages to Ubuntu Dockerfile 77/103877/2
authorJan Benedikt <j.benedikt@partner.samsung.com>
Wed, 18 Mar 2020 14:54:19 +0000 (15:54 +0100)
committerJan Benedikt <j.benedikt@partner.samsung.com>
Thu, 19 Mar 2020 15:27:50 +0000 (16:27 +0100)
Added iproute2 and python3-docker to ubuntu docker file.
These packages is necessary for docker functionality in Molecule testing.
Is necessary to install them because there are not in ubuntu image by default.

Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4e4f6bf342da3d5acba5b7b12c2dae9d64099426

ansible/test/images/docker/ubuntu/Dockerfile

index 1828c5b..6dd079a 100644 (file)
@@ -5,7 +5,7 @@ FROM ubuntu:${RELEASE}
 ENV container docker
 
 # Install necessary packages
-RUN apt-get update && apt-get -y install dbus systemd openssh-server
+RUN apt-get update && apt-get -y install dbus systemd openssh-server iproute2 python3-docker
 
 # Create symlink python3 -> python
 RUN ln -s /usr/bin/python3 /usr/bin/python