summaryrefslogtreecommitdiff
path: root/Dockerfile_trusty
blob: 445ea98ba97da401cf2820842b445f9230017cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Builds ubuntu latest image from docker hub
# Install and setups ansible
# Run from ansible dir: "docker build -t ansible_deploy ."
# You will need to update the playbook you deploy in this file.

FROM ubuntu:14.04

LABEL maintainer="Ben Copeland <ben.copeland@linaro.org>"

RUN apt-get update

#RUN apt-get install -y software-properties-common python-software-properties
#RUN apt-add-repository ppa:ansible/ansible

# Update apt cache
RUN apt-get update && apt-get install -y ansible vim bash openssh-server python-apt sudo cron

RUN mkdir -p /root/.ssh/
ADD pubkeys /root/.ssh/authorized_keys

# add playbooks/roles to the image.
#ADD ldap.conf /etc/ldap.conf

#RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT service ssh restart && bash