File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 14
14
run_opts : " --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
15
15
playbook : centos-7-test.yml
16
16
DOCKER_VERSION : " 1.9.1-0~trusty"
17
+ - distribution : ubuntu
18
+ version : 16.04
19
+ init : /lib/systemd/systemd
20
+ run_opts : " --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
21
+ playbook : test.yml
22
+ DOCKER_VERSION : " 1.9.1-0~trusty"
17
23
- distribution : ubuntu
18
24
version : 14.04
19
25
init : /sbin/init
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:16.04
2
+
3
+ # Install dependencies.
4
+ RUN apt-get update -qq -y
5
+ RUN apt-get install -qq -y python-software-properties software-properties-common \
6
+ rsyslog systemd systemd-cron sudo
7
+ RUN sed -i 's/^\($ModLoad imklog\)/#\1/' /etc/rsyslog.conf
8
+ #ADD etc/rsyslog.d/50-default.conf /etc/rsyslog.d/50-default.conf
9
+
10
+ # Install Ansible
11
+ RUN add-apt-repository -y ppa:ansible/ansible
12
+ RUN apt-get update -y
13
+ RUN apt-get install -y ansible git-core
14
+
15
+ COPY initctl_faker .
16
+ RUN chmod +x initctl_faker && rm -fr /sbin/initctl && ln -s /initctl_faker /sbin/initctl
17
+
18
+ # Install Ansible inventory file
19
+ RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
You can’t perform that action at this time.
0 commit comments