diff --git a/Dockerfile b/Dockerfile index 88eab0bb..4fc77e31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,15 @@ # |==> phusion/baseimage -- https://github.com/phusion/baseimage-docker # |==> phusion/passenger-docker -- https://github.com/phusion/passenger-docker # |==> HERE -FROM phusion/passenger-ruby24:1.0.0 +FROM phusion/passenger-ruby24:1.0.5 # Update OS as per https://github.com/phusion/passenger-docker#upgrading-the-operating-system-inside-the-container -RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" +RUN apt-get update & \ + apt-get upgrade -y -o Dpkg::Options::="--force-confold" & \ + apt-get -qy autoremove & \ + apt-get clean & \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + RUN bash -lc 'rvm --default use ruby-2.4.5' ENV APP_HOME=/home/app/pact_broker/