Sha256: 34a52948f45247fd10c00b0bacb0a713cbfc08b090b6deaeecc7632b8f63ebce

Contents?: true

Size: 1020 Bytes

Versions: 2

Compression:

Stored size: 1020 Bytes

Contents

FROM ruby:<%= config[:ruby_version] %>
LABEL maintainer="<%= config[:dockerhub_email] %>"
# COPY docker/containers/web/app.conf /tmp/<%= config[:app_name] %>.nginx

# Allow apt to work with https-based sources
RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
  apt-transport-https

# Ensure we install an up-to-date version of Node
# See https://github.com/yarnpkg/yarn/issues/2888
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -

# Ensure latest packages for Yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | \
  tee /etc/apt/sources.list.d/yarn.list

# Install packages
RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
  nodejs \
  yarn

COPY Gemfile* /usr/src/<%= config[:app_name] %>/
WORKDIR /usr/src/<%= config[:app_name] %>

ENV BUNDLE_PATH /gems

RUN bundle install

COPY . /usr/src/<%= config[:app_name] %>/

ENTRYPOINT ["roro/containers/web/docker-entrypoint.sh"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roro-0.3.5 lib/roro/cli/templates/base/roro/containers/app/Dockerfile.tt
roro-0.3.4 lib/roro/cli/templates/base/roro/containers/app/Dockerfile.tt