Sha256: adbc2a2917113a0c5c4b8043cf8c9a60ca0b2ac6db9ef1605ba23aab6820a9f7

Contents?: true

Size: 681 Bytes

Versions: 1

Compression:

Stored size: 681 Bytes

Contents

FROM phusion/passenger-full:0.9.30
LABEL maintainer="mfenner@datacite.org"

# Install Ruby 2.4.4
RUN bash -lc 'rvm --default use ruby-2.4.4'

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 -v 0.9.5

CMD maltese sitemap --sitemap_bucket $SITEMAP_BUCKET --rack_env $RACK_ENV --access_key $AWS_ACCESS_KEY_ID --secret_key $AWS_SECRET_ACCESS_KEY --region $AWS_REGION --slack_webhook_url $SLACK_WEBHOOK_URL

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maltese-0.9.5 Dockerfile