Sha256: a14f20f5049c9d79a53dafb46f13f17a61690c6ac55cdf2c70a0514111484af9

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

FROM brandonmathis/taperole:latest

# add playbooks to the image. This might be a git repo instead
ADD . /taperole

# We dont have swap access on travis. Chill this role out
RUN truncate -s 0 /taperole/roles/general/tasks/swapfile.yml

# Install Tape
WORKDIR /taperole
RUN gem build taperole.gemspec
RUN gem install slack-notifier
RUN gem install taperole # gem installs from local directory first, then remote

# Configure tape
RUN git clone https://github.com/smashingboxes/taperole_vanilla_4.git
WORKDIR /taperole/taperole_vanilla_4
RUN echo 'n' | tape installer install
ADD ./test/rails/tape_vars.yml taperole/tape_vars.yml

# FIXME
# Disable ufw bc docker gets mad about iptables
RUN sed -i '/ufw/d' taperole/omnibox.yml

# Run Tape
RUN echo '[omnibox]' > taperole/hosts
RUN echo 'localhost ansible_connection=local be_app_env=production be_app_branch=master' >> taperole/hosts
RUN tape ansible everything
RUN chown deployer:users /home/deployer -R
ADD test/rails/start_rails.sh /

# Set command that runs the rails app
WORKDIR /
CMD ["/start_rails.sh"]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
taperole-1.8.2 test/rails/Dockerfile
taperole-1.8.1 test/rails/Dockerfile
taperole-1.8.0 test/rails/Dockerfile
taperole-1.7.1 test/rails/Dockerfile
taperole-1.7.0 test/rails/Dockerfile