diff --git a/Dockerfile b/Dockerfile index 4013a65f7..9f9ea1c7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM phusion/passenger-full +FROM phusion/passenger-full:2.5.1 ARG PASSENGER_APP_ENV=production @@ -9,7 +9,6 @@ ADD bonnie.conf /etc/nginx/sites-enabled/bonnie.conf COPY --chown=app:app . /home/app/bonnie -RUN bash -lc "rvm install ruby-${RUBY_VERSION} && rvm --default use ruby-${RUBY_VERSION}" RUN rm -f /etc/service/nginx/down \ && rm -f /etc/nginx/sites-enabled/default \ @@ -20,6 +19,9 @@ RUN rm -f /etc/service/nginx/down \ && apt-get install shared-mime-info -y RUN su - app -c "cd /home/app/bonnie \ + && rvm autolibs disable \ + && rvm install ruby-${RUBY_VERSION} \ + && rvm --default use ruby-${RUBY_VERSION} \ && curl -O https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem \ && gem install bundler -v 2.1.4 \ && bundle install \ diff --git a/app/assets/stylesheets/landing.less b/app/assets/stylesheets/landing.less index bd2843b5b..7a909dc5e 100644 --- a/app/assets/stylesheets/landing.less +++ b/app/assets/stylesheets/landing.less @@ -1,3 +1,17 @@ +.decommissioning-banner { + display: flex; + align-items: center; + padding: 2rem; + background-color: white; + margin-left: 13%; + margin-right: 6%; + > div { + flex-direction: column; + text-align: left; + padding-left: 30px; + } +} + .container { padding: 1em; } diff --git a/app/views/home/show.html.erb b/app/views/home/show.html.erb index 59dfbba7a..fec89b395 100644 --- a/app/views/home/show.html.erb +++ b/app/views/home/show.html.erb @@ -11,6 +11,17 @@ <%= render 'layouts/framebreaker' %>
+