Sha256: 3020a3b5485422a4b07a057a454b231e1cba6fcbbbc62fb8ac7c4118d02c0d24

Contents?: true

Size: 681 Bytes

Versions: 1

Compression:

Stored size: 681 Bytes

Contents

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

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

ENV PATH="/usr/local/rvm/gems/ruby-2.6.5/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.10

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.10 Dockerfile