summaryrefslogtreecommitdiffstats
path: root/ansible/test/images/docker/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/images/docker/ubuntu')
-rw-r--r--ansible/test/images/docker/ubuntu/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/ansible/test/images/docker/ubuntu/Dockerfile b/ansible/test/images/docker/ubuntu/Dockerfile
index 54416374..1828c5b7 100644
--- a/ansible/test/images/docker/ubuntu/Dockerfile
+++ b/ansible/test/images/docker/ubuntu/Dockerfile
@@ -4,8 +4,11 @@ FROM ubuntu:${RELEASE}
# Systemd requires this env for ConditionVirtualization setting in unit files
ENV container docker
-# Python2.7 required by ansible
-RUN apt-get update && apt-get -y install dbus systemd python openssh-server
+# Install necessary packages
+RUN apt-get update && apt-get -y install dbus systemd openssh-server
+
+# Create symlink python3 -> python
+RUN ln -s /usr/bin/python3 /usr/bin/python
EXPOSE 22