└── Dockerfile /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM phusion/baseimage 2 | 3 | CMD ["/sbin/my_init"] 4 | 5 | RUN apt-get update 6 | RUN apt-get dist-upgrade -y 7 | RUN apt-get install -y python-software-properties software-properties-common python-netaddr python-augeas python-pip git sudo vim uuid-runtime 8 | RUN add-apt-repository --yes ppa:ansible/ansible 9 | RUN apt-get update 10 | RUN apt-get install -y ansible 11 | RUN pip install debops 12 | RUN adduser --disabled-password --gecos "" ubuntu 13 | RUN echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers 14 | RUN su ubuntu -c debops-update 15 | RUN apt-get install -y curl unzip 16 | RUN curl -O -L https://dl.bintray.com/mitchellh/packer/packer_0.8.1_linux_amd64.zip && unzip packer_0.8.1_linux_amd64.zip -d /usr/bin/ && rm packer_0.8.1_linux_amd64.zip 17 | RUN curl -O -L https://dl.bintray.com/mitchellh/terraform/terraform_0.6.0_linux_amd64.zip && unzip terraform_0.6.0_linux_amd64.zip -d /usr/bin/ && rm terraform_0.6.0_linux_amd64.zip 18 | RUN su ubuntu -c "echo 'export TERM=xterm-256color' >> ~/.bashrc" 19 | RUN add-apt-repository --yes ppa:brightbox/ruby-ng 20 | RUN apt-get update 21 | RUN apt-get install -y ruby2.2 ruby2.2-dev build-essential libxml2-dev zlib1g-dev libpq-dev libsqlite3-dev 22 | RUN gem install bundler 23 | RUN (curl -sL https://deb.nodesource.com/setup_0.12 | bash -) && apt-get install -y nodejs --------------------------------------------------------------------------------