Sha256: bdca848fb0a5b603905c90c44922287f3437f8934855055b6bda02b9f0939f39

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.11

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