summaryrefslogtreecommitdiffstats
path: root/ansible/test/images/docker/ubuntu/Dockerfile
blob: 5441637446b12b6a72527af36a681cdd20fe8b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ARG RELEASE
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

EXPOSE 22

CMD ["/sbin/init"]