Dockerfile in maltese-0.1.9 vs Dockerfile in maltese-0.2
- old
+ new
@@ -1,16 +1,16 @@
-FROM phusion/passenger-full:0.9.20
+FROM phusion/passenger-full:0.9.30
MAINTAINER Martin Fenner "mfenner@datacite.org"
-# Install Ruby 2.3.3
-RUN bash -lc 'rvm --default use ruby-2.3.3'
+# Install Ruby 2.4.4
+RUN bash -lc 'rvm --default use ruby-2.4.4'
-ENV PATH="/usr/local/rvm/gems/ruby-2.3.3/bin:${PATH}"
+ENV PATH="/usr/local/rvm/gems/ruby-2.4.4/bin:${PATH}"
# Update installed APT packages, clean up APT when done.
RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install maltese gem
-RUN /sbin/setuser app gem install maltese
+RUN /sbin/setuser app gem install maltese -v 0.2
-CMD maltese sitemap --sitemap_bucket $SITEMAP_BUCKET --from_date $FROM_DATE --until_date $UNTIL_DATE
+CMD maltese sitemap --sitemap_bucket $SITEMAP_BUCKET --from_date $FROM_DATE